Explicit Type Conversion and Multiple Simple Type Specifiers
- by James McNellis
To value initialize an object of type T, one would do something along the lines of one of the following:
T x = T();
T x((T()));
My question concerns types specified by a combination of simple type specifiers, e.g., unsigned int:
unsigned int x = unsigned int();
unsigned int x((unsigned int()));
Visual C++ 2008 and Intel C++ Compiler 11.1…