3 ms·
Just for fun, I checked that code with gcc 4.6 and clang 3.2. gcc gives the error: error: cannot call constructor ‘Thing::Thing’ directly [-fpermissive] clang
by monk_the_dog 13y ago
Just for fun, I checked that code with gcc 4.6 and clang 3.2. gcc gives the error:
error: cannot call constructor ‘Thing::Thing’ directly [-fpermissive]
clang compiles the code without issuing an error.