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
Tulio Leao
23e7b35c39
Add section about C++17 attributes ( #50 )
...
* Add section about C++17 attributes
Explains, in a single piece of code, about [[nodiscard]], [[fallthrough]] and [[maybe_unused]]
2019-06-19 11:23:45 -04:00
Tulio Leao
9f21a120f0
Add explanation about C++14 [[deprecated]] standard attribute ( #49 )
...
* Add [[deprecated]] attribute to C++14
2019-06-18 16:13:00 -04:00
Anthony Calandra
1c60839a11
Trailing return types.
2019-06-18 16:01:59 -04:00
Anthony Calandra
778d287275
Begin C++20 section with concepts!
2019-06-18 15:43:40 -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
4f508fc626
Update CONTRIBUTING doc with cheatsheet goals.
2019-06-13 22:03:00 -04:00
Anthony Calandra
0bb3f8dea2
Fix incorrect example and inconsistent forwarding references section.
2019-06-13 21:53:01 -04:00
Sonkeng Maldini
288c3b557c
Minor grammar fix ( #52 )
...
* Readme grammar fix
2019-02-04 14:50:22 -05: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
Anthony Calandra
9f37fd1773
Merge pull request #43 from runewalsh/master
...
std::move typo
2018-09-05 10:48:09 -04: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
Anthony Calandra
bfebe0936c
Merge pull request #42 from NutshellySima/master
...
Use std::size instead of sizeof in string_view example
2018-08-28 19:59:08 -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
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