Quantcast
Channel: Initialization in C++ - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Initialization in C++

$
0
0

What is the difference between direct initialization and uniform initialization in C++?

What is the difference between writing

int a{5}; // Uniform

and

int a(5); // Direct

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images