This repository contains some very basic examples for a selection of C++ features since C++11.
- Chrono + literals
- Lambda
- Binary literals, single quote as separator
- Optional
- Variant
- Structured binding, has_include
- Any
- Nested namespace, class template
- Smart pointer
- Constepxr
- Default, delete, compiler generierte functions
- Move + r-value references
- Tuple + get
- Attributes
- String_view
- Default member initializers
- Init statements if,for,switch
- Algorithms
And maybe:
- Concepts
- Constinit, consteval
- Ranges
- coroutines