Initializer list elements of the list are constructed on the stack (or in static memory, depending on the scope of the initializer list) as const objects.
The initializer_list object holds the address of the first element and one-past-the-end of the last element.
Latest posts by Glennan Carnie (see all)
- Practice makes perfect, part 3 – Idiomatic kata - February 27, 2020
- Practice makes perfect, part 2– foundation kata - February 13, 2020
- Practice makes perfect, part 1 – Code kata - January 30, 2020