-
Notifications
You must be signed in to change notification settings - Fork 82
Session: Initialization, Construction, Deconstruction
Hannes Hauswedell edited this page Oct 7, 2016
·
5 revisions
- On Classes, Structs, Construction...:
- Look at https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#S-class
- Read and understand everything until C.52, you can skip C.60 - C.89 for now
- write down any questions you might have
- Also read through:
- Initialization: http://en.cppreference.com/w/cpp/language/initialization
- Default http://en.cppreference.com/w/cpp/language/default_initialization
- Value http://en.cppreference.com/w/cpp/language/value_initialization
- Direct http://en.cppreference.com/w/cpp/language/direct_initialization
- Copy http://en.cppreference.com/w/cpp/language/copy_initialization
- List http://en.cppreference.com/w/cpp/language/list_initialization
- Aggregate http://en.cppreference.com/w/cpp/language/aggregate_initialization
- Reference http://en.cppreference.com/w/cpp/language/reference_initialization
- Zero http://en.cppreference.com/w/cpp/language/zero_initialization
- If you don't understand this fully, that's ok, but it is important that you have seen the docs before and that you have an overview of the signatures.
- Familiarize yourself with "online" c++ compilers, because they help you a lot: