Programming with C++17 and C++20
With knowledge of C++17 and 20, you will be able to use new elements to write less and more. This course gives you a deep dive into essential features. You'll get one year of access to the course material.
Course Material
Overview
Intro to tool "C++ Insights"
Development of C++
What is modern C++
Language Innovations
Deprecated and removed features
New language features of C++17 - CTAD with Exercise
Range-based for statements with initializer
FREE PREVIEWIf & Switch with initialization with exercise
Digit Separator
Nested namespaces
Using for scoped enum
Attributes
[[Deprecated]]
[[nodiscard]]
[[no_unique_address]]
[[likey]] / [[unlikely]]
Attributes overview
Exercise
Inline variables and exercise
Structured Bindings
Structured Bindings Exercise
Guaranteed copy elision
Unicode support
Things to remember
Why use STL algorithms? Plus exercise
std::to_array
std::span and exercise
std::shared_ptr and arrays & std::make_shared_ptr for arrays
std::to_chars and std::from_chars
std::byte
std::byte operations and exercise
Using std::string
Contains for all associative containers
Use std string_view as parameters
std::optional
Exercise
std::variant monostate
std::variant
std::variant object lifetime
std::variant exercise
std::variant motivation
std::any
std::any applied
Recap and exercise
std::source_location
std::source_location member functions
Safe integral comparisons
std::ssize
std::bit_cast
Bit operations
std::endian
FREE PREVIEWThings to remember
Formatting with iostreams
std::format specifiers
List of format specifiers
std::format escaping
A custom formatter for a type
A custom formatter for a type with a custom specifier
Exercise
Things to remember
Static Initialization Order Fiasco
Designated initializers
Exercise
Parenthesis initialitation for aggregates
Motivation for consistent comparisons
Comparing a string class
Spaceship operator
When do I get what?
Spaceship operator categories
Using a custom sort order
Exercise
Abbreviated function templates
Things to remember
Discover the most essential features now.