Is use in a default member initializer still an odr-use, even if the default member initializer is not used by any constructor? For example, is this ...
Is use in a default member initializer still an odr-use, even if the default member initializer is not used by any constructor? For example, is this ...
I want to write a class template M that accepts incomplete type C as template parameter. But I also want C has some traits when it is eventually defin ...
The question in the title is clear enough. To be more specific, consider the following example: This code compiles with GCC and Clang. According t ...
An instantiation of a<int> should be an error because int::type is illegal. But it seems that f1<int> can't cause the instantiation of a ...