std::initializer_list in C++, Internals and Use Cases -- Bartłomiej Filipek

bw_photo_small.pngDelving into the "how it works" and "why use it" of std::initializer_list...

std::initializer_list in C++, Internals and Use Cases

by Bartłomiej Filipek

From the article:

std::initializer_list<T>, is a lightweight proxy object that provides access to an array of objects of type const T.

The Standard shows the following example...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.