Commit Graph

178 Commits

Author SHA1 Message Date
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
687c0ce558 Merge branch 'master' of github.com:AnthonyCalandra/modern-cpp-features 2017-08-20 14:02:48 -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
d6d81c42ec Merge pull request #27 from AnthonyCalandra/revert-26-master
Revert "Named rvalue references are treated as lvalue references"
2017-07-13 08:24:50 -04:00
Anthony Calandra
c3feeca5f2 Revert "Named rvalue references are treated as lvalue references" 2017-07-13 08:24:17 -04:00
Anthony Calandra
6ac9ad0972 Merge pull request #26 from Peter-Levine/master
Named rvalue references are treated as lvalue references
2017-07-12 17:36:12 -04:00
Peter-Levine
883c196001 Named rvalue references are treated as lvalue references 2017-07-11 22:50:00 -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
Anthony Calandra
bf2f09b590 Merge pull request #21 from gogoprog/feature/narrowing-braced-list
Added narrowing example in braced list syntax
2017-04-25 12:30:23 -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
Anthony Calandra
a48cfaecf9 Merge pull request #20 from tupaschoal/initializer
Add missing sections on C++11 and C++14
2017-04-24 21:43:50 -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
Anthony Calandra
a3c8e41cd2 Merge pull request #17 from tupaschoal/patch-1
Fix minor formatting issues
2017-04-08 11:43:09 -04: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
Anthony Calandra
43098443dc Merge pull request #16 from tupaschoal/master
Fix C++11 decltype example
2017-04-01 00:07:03 -04:00
Tulio Leao
59a661fc78 Merge pull request #1 from tupaschoal/tupaschoal-decltype-typo
Fix C++11 decltype example
2017-03-31 22:05: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
Anthony Calandra
9ee231d459 Merge pull request #14 from mos6502/master
Fix example for decltype(auto) and Initializer lists
2017-03-16 12:07:59 -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
Anthony Calandra
cf66a7134c Merge pull request #11 from orabaev/master
Add final specifier
2017-01-03 15:27:13 -05:00
Oleg Rabaev
95ee20c82e Add final specifier 2017-01-02 21:28:34 -05:00
Anthony Calandra
3864ef8300 Merge pull request #10 from dkorolev/master
Typo: `s/would no compile/would not compile/`.
2016-12-24 12:04:45 -05:00
Dima
317894a4db Typo: s/would no compile/would not compile/. 2016-12-23 21:52:11 -08:00
Anthony Calandra
78e63e17a6 Merge pull request #7 from Doerge/cross-reference
Added a couple of cross references
2016-11-14 19:34:09 -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