Commit Graph

117 Commits

Author SHA1 Message Date
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
Tulio Leao
aa50febf56 Add parallel algorithms (#39)
* Add parallel algorithms
2018-08-28 20:01:31 -04:00
Chijun Sima
46c20a843c Use std::size instead of sizeof in string_view example 2018-08-24 15:03:36 +08:00
Anthony Calandra
d386a48f3b Add std::byte. 2018-08-23 22:45:05 -04: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
12b9992c01 Add filesystem library (#38)
* Add filesystem library
2018-08-20 11:24:54 -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
Anthony Calandra
c4431e1c38 Typo in std::make_shared section. 2017-06-25 15:07:35 -04:00
Anthony Calandra
89427e964a Merge branch 'master' of github.com:AnthonyCalandra/modern-cpp-features 2017-06-24 13:14:48 -04:00
Anthony Calandra
543545ca9c Add sections on the std::make_X helper functions; improve section on smart pointers; structured bindings typo. 2017-06-24 13:14:26 -04:00
Gauthier Billot
4ad2d10cc0 Added narrowing example in braced list syntax 2017-04-25 10:29:50 +02:00
Anthony Calandra
b887e0eb55 Add definition of my_integer_sequence. 2017-04-24 21:50:58 -04:00
Tulio Leao
0b28c24857 Add section about variable templates to C++14 list
As per N3651 and C++14, variables can now be templated.
2017-04-09 16:08:33 -03:00
Tulio Leao
102599050a Add improvement to usage of right angle brackets
They are now properly distinguished from serializing operators (N1757).
2017-04-09 15:43:05 -03:00
Tulio Leao
899e94e3c5 Update example to use uniform initialization
Keeping it up to date with C++11 :)
2017-04-08 19:09:59 -03:00
Tulio Leao
df931dfff4 Add section on non-static data member initializers
Since C++11, N2756 specifies that you can initialize a non-static member on its declaration.
2017-04-08 15:40:22 -03:00
Tulio Leao
80005e1e9b Add section about inline namespaces
As suggested on issue #15, inline namespaces were missing from the documentation, so I added a sentence with a snippet :)
2017-04-08 15:10:32 -03:00
Tulio Leao
e1a7c18c37 Fix minor formatting issues
Changed the order of the title to reflect the actual order of the text and fixed some minor formatting on the text :)
2017-04-08 12:37:53 -03:00
Tulio Leao
daaae83826 Fix C++11 decltype example
It was using an undeclared variable on the assignment, now it uses the previous one, which I guessed was the original thought.
2017-03-31 22:05:28 -03:00
Anthony Calandra
2159f83b30 Merge branch 'master' of github.com:AnthonyCalandra/modern-cpp-features 2017-03-25 00:05:35 -04:00
Anthony Calandra
fe636d3aff Explicit conversion functions. 2017-03-24 23:50:53 -04:00
Anthony Calandra
a3ac112431 Converting constructors. 2017-03-24 23:44:54 -04:00
Anthony Calandra
fc3e9b8203 Direct list initialization of enums. 2017-03-24 23:20:04 -04:00
Mos
c4fcc6250b Fix example for decltype(auto) and Initializer lists 2017-03-16 19:33:54 +04:00
Anthony Calandra
1f3a7a3316 UTF-8 character literals. 2017-01-15 18:06:21 -05:00
Anthony Calandra
ffe72e9d84 Lambda capture this by value. 2017-01-15 17:45:48 -05:00
Anthony Calandra
85e9d0b6d9 Fix typo. 2017-01-15 17:18:41 -05:00
Anthony Calandra
e6da8e3511 Provide link to GH's contributors page. 2017-01-03 15:29:53 -05:00
Oleg Rabaev
95ee20c82e Add final specifier 2017-01-02 21:28:34 -05:00
Dima
317894a4db Typo: s/would no compile/would not compile/. 2016-12-23 21:52:11 -08:00
Aske Doerge
4084ab080d Added cross-references. 2016-11-14 12:23:05 +01:00
Anthony Calandra
9e0f6699d9 Acknowledge those who add new language/library content. 2016-11-12 12:35:33 -08:00
Anthony Calandra
f7edc941fd Merge pull request #5 from mknejp/patch-1
Add C++14 initializiers for lambda captures
2016-11-12 12:33:55 -08:00
Miro Knejp
0ff7797b5e incorporate feedback 2016-11-12 21:23:33 +01:00
Anthony Calandra
ca16137a45 Fix decltype typo. 2016-11-12 11:10:41 -08:00
Anthony Calandra
535c4b6af2 Attempt to fix broken links. part 2 2016-11-12 11:08:28 -08:00
Anthony Calandra
a8be1ff7e2 Merge branch 'master' of github.com:AnthonyCalandra/modern-cpp-features 2016-11-12 11:05:59 -08:00
Anthony Calandra
bfcaf11354 Attempt to fix broken links. 2016-11-12 11:05:41 -08:00
Miro Knejp
4394147613 Add C++14 initializiers for lambda captures 2016-11-12 18:52:01 +01:00
Richard Smith
a633a217ea Fix incorrect (ill-formed) example for class template argument deduction 2016-11-11 16:47:25 -08:00
thukydides
b924bed254 Update README.md 2016-11-11 20:35:19 +01:00
Alberto Luaces
698a849861 Fixed misspelling 2016-11-11 20:19:43 +01:00
Anthony Calandra
bc7989e262 move; forward; acknowledgements; conclusions. 2016-11-10 19:52:26 -08:00
Anthony Calandra
35b4bd4c04 type traits; chrono; tuples; tie; etc... 2016-11-09 21:54:53 -08:00
Anthony Calandra
3b084346dd Fix std::to_string link. 2016-11-06 18:25:36 -08:00