Commit Graph

128 Commits

Author SHA1 Message Date
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
Anthony Calandra
b12ea9fc7f Improve smart pointers section. 2020-02-22 17:51:14 -05:00
Anthony Calandra
df6400cbb8 Improve move semantics sections. 2020-02-22 17:30:47 -05:00
Anthony Calandra
696cbe7293 Fix title casing. 2020-02-22 17:09:09 -05:00
Anthony Calandra
6b11829603 Added std::is_constant_evaluated. 2020-02-22 16:53:35 -05:00
Anthony Calandra
47733e4e29 Added C++20 mathematical constants. 2020-02-22 16:27:51 -05:00
Anthony Calandra
c918dbea71 Add bit operations library. 2020-02-22 16:18:24 -05:00
Anthony Calandra
810d4c6bc0 Include std::span. 2020-02-22 16:03:24 -05:00
Anthony Calandra
585e5c8b69 Synchronized buffered outputstreams. 2020-02-22 14:33:56 -05:00
Anthony Calandra
9168f05215 C++20 concepts are now snake_case. 2020-02-22 14:33:13 -05:00
Anthony Calandra
772980baa4 C++20 features: immediate functions, using enum. 2020-02-02 14:28:33 -05:00
Anthony Calandra
1e8b4e1768 Fix explicit(bool) link. 2020-02-01 18:04:59 -05:00
Anthony Calandra
c6734631fc Consistent title casing. 2020-02-01 18:03:31 -05:00
Anthony Calandra
6d90199ea9 C++20 features: constexpr virtual functions, explicit(bool), char8_t. 2020-02-01 17:59:06 -05:00
Anthony Calandra
71c24af74f C++20 features: new attributes, deprecate implicit capture of this, and classes in non-type template parameters. 2020-01-31 23:16:05 -05:00
Anthony Calandra
2e754375fd Fix formatting. 2020-01-26 14:14:49 -05:00
Frede
31cc7ac850 Added example of static inline member variables to #inline varibles (#77)
* Added example of static inline member variables to #inline varibles
2020-01-26 14:00:18 -05:00
Anthony Calandra
1c53669d1f Improve C++17 new attributes section. 2020-01-21 23:16:16 -05:00
Anthony Calandra
ce454e0c2d Designated initializers; template syntax for lambdas; range-based for loop with initializer. 2020-01-19 13:53:01 -05:00
Anthony Calandra
3489012600 Merge branch 'master' of github.com:AnthonyCalandra/modern-cpp-features 2020-01-15 22:12:22 -05:00
Anthony Calandra
31f716589b Better explanation for std::move. 2020-01-15 22:11:57 -05:00
Matthew Guidry
07b1193de0 Add section about noexcept specifier (#72)
* Add section about noexcept
2019-12-16 21:37:24 -05:00
Muhammet Ali Asan
b785d8f971 added std::begin/end (#69)
* added std::begin/end
2019-11-14 12:24:14 -05:00
Matthew Guidry
4eb1a3ff5f Parameter Pack to Initializer List (#65)
* Add alternate use variadic template example
2019-10-24 18:40:38 -04:00
Matthew Guidry
cdcd516ae8 Add More Examples to Some Sections (#63)
* Add example to Structured Bindings
2019-10-14 11:41:00 -04:00
Azam Bham
af7125a698 "Template aliases" have been renamed to "Type aliases" in CPP11.md and README.md files (#60)
* "template aliases" have been renamed to "type aliases".
2019-09-21 16:30:04 -04:00
Anthony Calandra
fe57c1018f Fix typo. 2019-08-29 18:52:57 -04:00
Anthony Calandra
a417937da1 More work on concepts. 2019-07-30 22:53:56 -04:00