Is this a name collision? I was testing template specialization and below is fine [code] template<typename T> void is_voi(T in...
Why does std::declval<int&>() returns lvalue reference?Below the return value is “is lvalue”. However, in the documentation, (https://www.cplusplus.com...
What is this syntax for initializing 2D array?Thanks @mbozzi, this is designated initialization: https://gcc.gnu.org/onlinedocs/gcc/Designated-Ini...
What is this syntax for initializing 2D array?This is technically C and I understand this is a common way to initialize a 2D array: [code] const ...
Why do I have to assign a {} expression to an object?I'm playing around the bracket list expression, and I got an error [quote]error: expected ‘;’ be...
This user does not accept Private Messages