Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
MSVC alias template
template<typename> struct if_int; template<> struct if_int<int> { using type = void; }; template<typename T> using if_int_t = typename if_int<typename T::type>::type; using invalid_type = if_int_t<void>; #include <iostream> int main() { std::cout << typeid(invalid_type).name() //<< "\nsizeof = " << sizeof(invalid_type) << "\n"; }
run
|
edit
|
history
|
help
0
Program of cube
dhar1
pitch errors verification for Nowhk
find vs at
Error log b is an undeclared identifier...
hangman
VC++ windows exception
ntohl
sample ptr and obj ex
hangman