Brace initialization of user-defined types

initializer_list

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.

Glennan Carnie
Dislike (0)
Bookmark the permalink.

Leave a Reply