Commit Graph

  • 30a6ca2307 Make operator<=> friend. master Anthony Calandra 2025-04-05 19:59:07 -04:00
  • 65d08b8d53 std::format: Formatting library. Anthony Calandra 2024-10-14 21:21:58 -04:00
  • 5d60755a38 Three-way comparison operator and library additions. Anthony Calandra 2024-10-13 17:36:17 -04:00
  • 0e192a5e56 Fix formatting issues with __VA_OPT__. Anthony Calandra 2024-10-12 22:56:34 -04:00
  • bbc4ea3e3d Change license to current year. Anthony Calandra 2024-10-12 22:54:18 -04:00
  • aa4cfc4422 std::bind_front and uniform container erasure. Anthony Calandra 2024-10-12 22:50:16 -04:00
  • 3f054364ad Add rounding functions for chrono durations and timepoints. Anthony Calandra 2024-10-12 22:49:56 -04:00
  • 452a63bd90 Move note about using cppcoro to the top of the coroutines section. Anthony Calandra 2024-10-12 22:49:12 -04:00
  • 3ca9ac130d Replace thbecker.net article with web archive link since the domain expired. Anthony Calandra 2024-10-12 22:47:23 -04:00
  • 4d2f4d4329 Fix "Class types in non-type template parameters" example. Anthony Calandra 2024-10-12 22:22:10 -04:00
  • 052c3d80bf Support for __VA_OPT__. Anthony Calandra 2024-10-12 20:31:31 -04:00
  • 98524780b4 Update README.md (#136) Roaming Debug 2024-10-10 22:12:50 -05:00
  • 090b412f3f Fix typo in constinit example. Anthony Calandra 2024-08-06 22:56:13 -04:00
  • 1284ccd3cf C++17: Class template argument deduction (#131) Kevin Strobel 2023-10-25 22:24:53 +02:00
  • 7afc4981c1 Remove Github Actions scripts and workflow. Anthony Calandra 2023-10-25 15:56:28 -04:00
  • 4a7a0c1c3f Fix compound requirement code example (#127) Andrei 2023-03-18 21:08:31 +03:00
  • 42a660aa21 Update LICENSE to 2023 Anthony Calandra 2023-03-05 23:35:05 -05:00
  • 2b2ebe64b3 Add CTAD. Anthony Calandra 2023-02-27 21:41:12 -05:00
  • 137f8ac08a Add string conversion using std::to_chars and std::from_chars. Anthony Calandra 2023-02-27 21:02:12 -05:00
  • c0e0f37bd0 Add std::not_fn. Anthony Calandra 2023-02-20 21:12:27 -05:00
  • 2328e86239 GCD and LCM. Anthony Calandra 2023-02-20 20:22:40 -05:00
  • 5a9e63549e Add the transform examples for the std::reduce section. Anthony Calandra 2023-02-20 19:57:45 -05:00
  • abab8bb1a3 Add the prefix sum algorithms. Anthony Calandra 2023-02-20 19:23:51 -05:00
  • 3ade18fb41 Add std::reduce. Anthony Calandra 2023-02-20 18:12:16 -05:00
  • 560e1b4390 Add std::clamp Anthony Calandra 2023-02-18 21:37:51 -05:00
  • 698ac6d5ff Minor cosmetic changes: make attribute headers consistent; remove extra spacing in TOC. Anthony Calandra 2023-02-17 23:06:23 -05:00
  • 6ba2efe088 Simplify std::invoke example. Anthony Calandra 2023-02-17 21:49:15 -05:00
  • 8183b4bbdb Improve the std::span section. Anthony Calandra 2023-02-17 19:58:05 -05:00
  • b6c4515108 Add std::sample to C++17 section. Anthony Calandra 2023-02-17 17:28:14 -05:00
  • e2f9058ca7 Add constinit specifier. Anthony Calandra 2023-02-17 17:27:56 -05:00
  • 0dd38f0bad Improve constexpr section by providing a small explanation of one of the snippets and that evaluations MAY happen at compile-time. Anthony Calandra 2023-02-17 17:03:16 -05:00
  • 40b3823256 fallthrough explanation and example are fixed. (#115) clepz 2022-11-01 19:53:49 +03:00
  • bd4cb84e80 C++17: Add __has_include operator (#112) Arsenic 2022-03-19 21:40:40 +05:30
  • cb50e8e5a6 Update CPP11.md (#109) dimalosev0605 2022-02-23 18:54:35 +03:00
  • 1f1461ecfc Update CONTRIBUTING.md Anthony Calandra 2022-02-21 14:54:25 -05:00
  • 2da0071af0 Trigger workflows when pushing or opening PRs to the master branch. Anthony Calandra 2022-02-21 13:48:13 -05:00
  • 8455faca6a Merge branch 'master' of github.com:AnthonyCalandra/modern-cpp-features into master Anthony Calandra 2021-12-03 18:51:14 -05:00
  • a39f7b8dde Update license year to 2022. Anthony Calandra 2021-12-03 18:50:50 -05:00
  • 1343f5eeef Auto generate readme (#100) Chengqi Deng 2021-12-04 07:48:04 +08:00
  • c72f2796c0 Proofreading and fix of the link (#103) Dmitry Tsarevich 2021-09-30 01:51:54 +03:00
  • 39f2281bbf Changes in Readme (#101) Hriday Sharma 2021-07-19 22:30:52 +05:30
  • 8fedee0b8a Merge pull request #98 from aesophor/likely-unlikely Anthony Calandra 2021-05-15 11:59:06 -04:00
  • 76138c2a49 C++20: [[{,un}likely]]: fix the position of attributes in example (#97) Marco Wang 2021-05-15 11:27:07 +08:00
  • 17f4bc150c Added raw string literals to C++11 features (#96) Dave 2021-04-06 00:49:02 +02:00
  • d9b99892b0 Move char8_t to the language features section; add char32_t and char16_t. Anthony Calandra 2021-03-12 19:51:03 -05:00
  • ee2b5775fc Add a section on coroutines. Anthony Calandra 2021-02-14 19:01:44 -05:00
  • 2be1f10b50 fix rvalue reference error (#89) raphael10241024 2020-10-13 11:30:16 +08:00
  • 2096b977c8 Better writing for C++17 nested namespaces. (#85) Rodrigo 2020-07-19 13:20:09 -03:00
  • 5c6303dbee Add lambda captures of parameter packs. Anthony Calandra 2020-06-26 22:16:53 -04:00
  • aff25ca533 Fix incorrect lambda expression capture of [this]. Anthony Calandra 2020-06-26 22:03:08 -04:00
  • 58b21474c8 Move std::char8_t to library section. Anthony Calandra 2020-06-26 21:56:15 -04:00
  • e8cac18ada Add std::midpoint and std::to_array. Anthony Calandra 2020-06-26 21:55:03 -04:00
  • c1993c90f8 Update license year. Anthony Calandra 2020-06-26 21:21:22 -04:00
  • 326ac69b8f Fix anchoring errors. Anthony Calandra 2020-06-25 21:44:35 -04:00
  • d61201faee Merge branch 'master' of github.com:AnthonyCalandra/modern-cpp-features Anthony Calandra 2020-06-25 21:41:14 -04:00
  • 0e24601c4f Support for: - std::make_shared with C-style arrays - starts_with and ends_with - contains - std::bit_cast Anthony Calandra 2020-06-25 21:40:24 -04:00
  • 352a87a284 Fix typo: Correct argument name in enum namespace example. (#81) Andreas Hofmann 2020-05-20 01:29:39 +02:00
  • 187b059420 Add new library feature std::ref (#80) Farsan Rashid 2020-03-09 01:02:02 +06:00
  • 5d8180a809 Update README.md (#79) Semisonic 2020-02-26 02:42:09 +03:00
  • b12ea9fc7f Improve smart pointers section. Anthony Calandra 2020-02-22 17:51:14 -05:00
  • df6400cbb8 Improve move semantics sections. Anthony Calandra 2020-02-22 17:30:47 -05:00
  • 696cbe7293 Fix title casing. Anthony Calandra 2020-02-22 17:09:09 -05:00
  • 6b11829603 Added std::is_constant_evaluated. Anthony Calandra 2020-02-22 16:51:40 -05:00
  • 47733e4e29 Added C++20 mathematical constants. Anthony Calandra 2020-02-22 16:27:51 -05:00
  • c918dbea71 Add bit operations library. Anthony Calandra 2020-02-22 16:18:24 -05:00
  • 810d4c6bc0 Include std::span. Anthony Calandra 2020-02-22 15:59:58 -05:00
  • 585e5c8b69 Synchronized buffered outputstreams. Anthony Calandra 2020-02-22 14:33:56 -05:00
  • 9168f05215 C++20 concepts are now snake_case. Anthony Calandra 2020-02-22 14:33:13 -05:00
  • 772980baa4 C++20 features: immediate functions, using enum. Anthony Calandra 2020-02-02 14:28:33 -05:00
  • 1e8b4e1768 Fix explicit(bool) link. Anthony Calandra 2020-02-01 18:04:59 -05:00
  • c6734631fc Consistent title casing. Anthony Calandra 2020-02-01 18:03:31 -05:00
  • 6d90199ea9 C++20 features: constexpr virtual functions, explicit(bool), char8_t. Anthony Calandra 2020-02-01 17:59:06 -05:00
  • 71c24af74f C++20 features: new attributes, deprecate implicit capture of this, and classes in non-type template parameters. Anthony Calandra 2020-01-31 23:16:05 -05:00
  • 2e754375fd Fix formatting. Anthony Calandra 2020-01-26 14:14:49 -05:00
  • 31cc7ac850 Added example of static inline member variables to #inline varibles (#77) Frede 2020-01-26 20:00:18 +01:00
  • 1c53669d1f Improve C++17 new attributes section. Anthony Calandra 2020-01-21 23:14:42 -05:00
  • ce454e0c2d Designated initializers; template syntax for lambdas; range-based for loop with initializer. Anthony Calandra 2020-01-19 13:48:43 -05:00
  • 3489012600 Merge branch 'master' of github.com:AnthonyCalandra/modern-cpp-features Anthony Calandra 2020-01-15 22:12:22 -05:00
  • 31f716589b Better explanation for std::move. Anthony Calandra 2020-01-14 19:10:48 -05:00
  • 07b1193de0 Add section about noexcept specifier (#72) Matthew Guidry 2019-12-16 20:37:24 -06:00
  • b785d8f971 added std::begin/end (#69) Muhammet Ali Asan 2019-11-14 18:24:14 +01:00
  • 4eb1a3ff5f Parameter Pack to Initializer List (#65) Matthew Guidry 2019-10-24 17:40:38 -05:00
  • cdcd516ae8 Add More Examples to Some Sections (#63) Matthew Guidry 2019-10-14 10:41:00 -05:00
  • af7125a698 "Template aliases" have been renamed to "Type aliases" in CPP11.md and README.md files (#60) Azam Bham 2019-09-21 21:30:04 +01:00
  • fe57c1018f Fix typo. Anthony Calandra 2019-08-29 18:52:57 -04:00
  • a417937da1 More work on concepts. Anthony Calandra 2019-07-30 22:53:56 -04:00
  • 23e7b35c39 Add section about C++17 attributes (#50) Tulio Leao 2019-06-19 12:23:45 -03:00
  • 9f21a120f0 Add explanation about C++14 [[deprecated]] standard attribute (#49) Tulio Leao 2019-06-18 17:13:00 -03:00
  • 1c60839a11 Trailing return types. Anthony Calandra 2019-06-18 16:01:59 -04:00
  • 778d287275 Begin C++20 section with concepts! Anthony Calandra 2019-06-18 15:43:40 -04:00
  • 95a3b3f7be Add const rvalue reference edge-case for ref-qualified member functions section. Anthony Calandra 2019-06-14 01:15:00 -04:00
  • 1a5af17e8a Added ref-qualified member functions. Anthony Calandra 2019-06-13 22:28:43 -04:00
  • 4f508fc626 Update CONTRIBUTING doc with cheatsheet goals. Anthony Calandra 2019-06-13 22:03:00 -04:00
  • 0bb3f8dea2 Fix incorrect example and inconsistent forwarding references section. Anthony Calandra 2019-06-13 21:52:52 -04:00
  • 288c3b557c Minor grammar fix (#52) Sonkeng Maldini 2019-02-04 20:50:22 +01:00
  • b0713330f2 make std::chrono example more clear (#51) Mahmoud Adas 2019-01-30 02:47:47 +02:00
  • b1b0d0e3cc Cleanup; consistent formatting. Anthony Calandra 2018-12-12 17:14:31 -05:00
  • dff069e9f5 Forwarding references; cleanup std::forward, rvalue references, and std::move Anthony Calandra 2018-12-12 16:52:46 -05:00
  • 4df2261e0c C++11 feature: std::async (#47) defmys 2018-12-11 00:33:12 +08:00
  • 9f37fd1773 Merge pull request #43 from runewalsh/master Anthony Calandra 2018-09-05 10:48:09 -04:00