Commit Graph

29 Commits

Author SHA1 Message Date
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
raphael10241024
2be1f10b50 fix rvalue reference error (#89) 2020-10-12 23:30:16 -04:00
Anthony Calandra
aff25ca533 Fix incorrect lambda expression capture of [this]. 2020-06-26 22:03:08 -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
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
2e754375fd Fix formatting. 2020-01-26 14:14:49 -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
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
1c60839a11 Trailing return types. 2019-06-18 16:01:59 -04:00
Anthony Calandra
95a3b3f7be Add const rvalue reference edge-case for ref-qualified member functions section. 2019-06-14 01:15:39 -04:00
Anthony Calandra
1a5af17e8a Added ref-qualified member functions. 2019-06-13 22:28:43 -04:00
Anthony Calandra
0bb3f8dea2 Fix incorrect example and inconsistent forwarding references section. 2019-06-13 21:53:01 -04:00
Mahmoud Adas
b0713330f2 make std::chrono example more clear (#51)
* make std::chrono example more clear
2019-01-29 19:47:47 -05:00
Anthony Calandra
b1b0d0e3cc Cleanup; consistent formatting. 2018-12-12 17:14:31 -05:00
Anthony Calandra
dff069e9f5 Forwarding references; cleanup std::forward, rvalue references, and std::move 2018-12-12 16:52:46 -05:00
defmys
4df2261e0c C++11 feature: std::async (#47)
* C++11 feature: std::async
2018-12-10 11:33:12 -05:00
runewalsh
a0ae2d068c std::move typo 2018-09-05 13:52:37 +03:00
Anthony Calandra
6bd5496581 Fix tuples comment. 2018-08-23 22:18:32 -04:00
Anthony Calandra
2f7066a939 Add sections for decltypes and improve descriptions. 2018-08-23 22:17:56 -04:00
Tulio Leao
36729c1716 Add Threads library (#37)
* Add Threads library
2018-08-12 14:34:30 -04:00
Tulio Leao
79c439134f Simplify Type Traits example (#35)
The `std::is_<type>::value` already returns a `bool`, so comparing it to `1` is unnecessary.
2018-08-04 21:31:23 -04:00
Tulio Leao
21c9492403 Improve std::chrono example (#34)
* Improve std::chrono example

Closes #32 .

@skwllsp arguing makes sense, so the example can be updated to use steady_clock or it could guarantee that the system clock is steady using `std::chrono::system_clock::is_steady`, but I don't think that would simplify things.
2018-08-04 21:29:40 -04:00
Anthony Calandra
db43d4b9c6 - Partition features based on major C++ version into separate readme files.
- Fix fold expressions typo.
- Add a CONTRIBUTING.md file on how to effectively contribute.
2017-08-20 14:01:23 -04:00