Anthony Calandra
30a6ca2307
Make operator<=> friend.
2025-04-05 19:59:07 -04:00
Anthony Calandra
65d08b8d53
std::format: Formatting library.
2024-10-14 21:21:58 -04:00
Anthony Calandra
5d60755a38
Three-way comparison operator and library additions.
2024-10-13 17:36:17 -04:00
Anthony Calandra
0e192a5e56
Fix formatting issues with __VA_OPT__.
2024-10-12 22:56:34 -04:00
Anthony Calandra
aa4cfc4422
std::bind_front and uniform container erasure.
2024-10-12 22:50:42 -04:00
Anthony Calandra
3f054364ad
Add rounding functions for chrono durations and timepoints.
2024-10-12 22:50:42 -04:00
Anthony Calandra
452a63bd90
Move note about using cppcoro to the top of the coroutines section.
2024-10-12 22:50:42 -04:00
Anthony Calandra
3ca9ac130d
Replace thbecker.net article with web archive link since the domain expired.
2024-10-12 22:50:42 -04:00
Anthony Calandra
4d2f4d4329
Fix "Class types in non-type template parameters" example.
2024-10-12 22:50:42 -04:00
Anthony Calandra
052c3d80bf
Support for __VA_OPT__.
2024-10-12 22:50:42 -04:00
Roaming Debug
98524780b4
Update README.md ( #136 )
...
* Update README.md
* Update CPP17.md
* Update CPP11.md
* Improve the ref-qualified member functions code even more.
---------
Co-authored-by: Anthony Calandra <anthony@anthony-calandra.com >
2024-10-10 23:12:50 -04:00
Anthony Calandra
090b412f3f
Fix typo in constinit example.
2024-08-06 22:56:13 -04:00
Kevin Strobel
1284ccd3cf
C++17: Class template argument deduction ( #131 )
...
* C++17: Class template argument deduction
Fixed the user-defined deduction guide.
* Update README
2023-10-25 16:24:53 -04:00
Andrei
4a7a0c1c3f
Fix compound requirement code example ( #127 )
2023-03-18 14:08:31 -04:00
Anthony Calandra
2b2ebe64b3
Add CTAD.
2023-02-27 21:41:12 -05:00
Anthony Calandra
137f8ac08a
Add string conversion using std::to_chars and std::from_chars.
2023-02-27 21:05:54 -05:00
Anthony Calandra
c0e0f37bd0
Add std::not_fn.
2023-02-20 21:12:27 -05:00
Anthony Calandra
2328e86239
GCD and LCM.
2023-02-20 20:22:40 -05:00
Anthony Calandra
5a9e63549e
Add the transform examples for the std::reduce section.
2023-02-20 19:57:45 -05:00
Anthony Calandra
abab8bb1a3
Add the prefix sum algorithms.
2023-02-20 19:23:51 -05:00
Anthony Calandra
3ade18fb41
Add std::reduce.
2023-02-20 18:17:57 -05:00
Anthony Calandra
560e1b4390
Add std::clamp
2023-02-18 21:37:51 -05:00
Anthony Calandra
698ac6d5ff
Minor cosmetic changes: make attribute headers consistent; remove extra spacing in TOC.
2023-02-17 23:06:23 -05:00
Anthony Calandra
6ba2efe088
Simplify std::invoke example.
2023-02-17 21:56:24 -05:00
Anthony Calandra
8183b4bbdb
Improve the std::span section.
2023-02-17 19:58:05 -05:00
Anthony Calandra
b6c4515108
Add std::sample to C++17 section.
2023-02-17 17:28:14 -05:00
Anthony Calandra
e2f9058ca7
Add constinit specifier.
2023-02-17 17:27:56 -05:00
Anthony Calandra
0dd38f0bad
Improve constexpr section by providing a small explanation of one of the snippets and that evaluations MAY happen at compile-time.
2023-02-17 17:03:16 -05:00
clepz
40b3823256
fallthrough explanation and example are fixed. ( #115 )
...
* fallthrough explanation and example are fixed.
* Sentence typo fixed and written more concisely.
2022-11-01 12:53:49 -04:00
Arsenic
bd4cb84e80
C++17: Add __has_include operator ( #112 )
2022-03-19 12:10:40 -04:00
dimalosev0605
cb50e8e5a6
Update CPP11.md ( #109 )
...
* Update CPP11.md
semicolons absence
* Update README.md
semicolons absence
2022-02-23 10:54:35 -05:00
Chengqi Deng
1343f5eeef
Auto generate readme ( #100 )
...
* Auto generate readme provided by @KinglittleQ
2021-12-03 18:48:04 -05:00
Dmitry Tsarevich
c72f2796c0
Proofreading and fix of the link ( #103 )
2021-09-29 18:51:54 -04:00
Hriday Sharma
39f2281bbf
Changes in Readme ( #101 )
...
* Changes in Readme
* Changes in CPP Files
2021-07-19 13:00:52 -04:00
Marco Wang
76138c2a49
C++20: [[{,un}likely]]: fix the position of attributes in example ( #97 )
2021-05-15 11:27:07 +08:00
Dave
17f4bc150c
Added raw string literals to C++11 features ( #96 )
...
* Added raw string literals to C++11
2021-04-05 18:49:02 -04:00
Anthony Calandra
d9b99892b0
Move char8_t to the language features section; add char32_t and char16_t.
2021-03-12 19:51:03 -05:00
Anthony Calandra
ee2b5775fc
Add a section on coroutines.
2021-02-14 19:04:42 -05:00
raphael10241024
2be1f10b50
fix rvalue reference error ( #89 )
2020-10-12 23:30:16 -04:00
Rodrigo
2096b977c8
Better writing for C++17 nested namespaces. ( #85 )
...
* Better writing for C++17 nested namespaces.
2020-07-19 12:20:09 -04:00
Anthony Calandra
5c6303dbee
Add lambda captures of parameter packs.
2020-06-26 22:16:53 -04:00
Anthony Calandra
aff25ca533
Fix incorrect lambda expression capture of [this].
2020-06-26 22:03:08 -04:00
Anthony Calandra
58b21474c8
Move std::char8_t to library section.
2020-06-26 21:56:15 -04:00
Anthony Calandra
e8cac18ada
Add std::midpoint and std::to_array.
2020-06-26 21:55:03 -04:00
Anthony Calandra
326ac69b8f
Fix anchoring errors.
2020-06-25 21:44:35 -04:00
Anthony Calandra
d61201faee
Merge branch 'master' of github.com:AnthonyCalandra/modern-cpp-features
2020-06-25 21:41:14 -04:00
Anthony Calandra
0e24601c4f
Support for:
...
- std::make_shared with C-style arrays
- starts_with and ends_with
- contains
- std::bit_cast
2020-06-25 21:40:24 -04:00
Andreas Hofmann
352a87a284
Fix typo: Correct argument name in enum namespace example. ( #81 )
...
Signed-off-by: Andreas Hofmann <mail@andreas-hofmann.org >
2020-05-19 19:29:39 -04:00
Farsan Rashid
187b059420
Add new library feature std::ref ( #80 )
...
* Add std::ref
Add missing library feature introduced in CPP11.
* Modify comment in example of std::ref
* Add comment in example of std::ref
* Add link in table of content
* Add new library feature std::ref under CPP11
* Add std::cref
* Add std::cref
2020-03-08 15:02:02 -04:00
Semisonic
5d8180a809
Update README.md ( #79 )
...
* Update README.md
As per https://en.cppreference.com/w/cpp/utility/integer_sequence , `std::make_integer_sequence` doesn't accept any parameter pack template arguments
2020-02-25 18:42:09 -05:00