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
bbc4ea3e3d
Change license to current year.
2024-10-12 22:54:18 -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
Anthony Calandra
7afc4981c1
Remove Github Actions scripts and workflow.
2023-10-25 15:56:28 -04:00
Andrei
4a7a0c1c3f
Fix compound requirement code example ( #127 )
2023-03-18 14:08:31 -04:00
Anthony Calandra
42a660aa21
Update LICENSE to 2023
2023-03-05 23:35:05 -05: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
Anthony Calandra
1f1461ecfc
Update CONTRIBUTING.md
...
Remove the note about README.md automatically changing.
2022-02-21 14:54:25 -05:00
Anthony Calandra
2da0071af0
Trigger workflows when pushing or opening PRs to the master branch.
2022-02-21 14:42:05 -05:00
Anthony Calandra
8455faca6a
Merge branch 'master' of github.com:AnthonyCalandra/modern-cpp-features into master
2021-12-03 18:51:14 -05:00
Anthony Calandra
a39f7b8dde
Update license year to 2022.
2021-12-03 18:50:55 -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
Anthony Calandra
8fedee0b8a
Merge pull request #98 from aesophor/likely-unlikely
...
C++20: [[{,un}likely]]: fix the position of attributes in example (#97 )
2021-05-15 11:59:06 -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