Quantcast
Channel: Initialization in C++ - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by rawrex for Initialization in C++

In this particular example there will be no difference due to the type and the value choosen: int and 5.In some other cases what initialization means does depend on whether we use {} or (). When we use...

View Article



Initialization in C++

What is the difference between direct initialization and uniform initialization in C++?What is the difference between writingint a{5}; // Uniformandint a(5); // Direct

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images