Run Code
|
Code Wall
|
Users
|
Misc
|
Feedback
|
About
|
Login
|
Theme
variable template not supported
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <iostream> template<class T> struct tag_t{ using type=T; constexpr tag_t(){} }; template<class T> constexpr tag_t<T> tag{}; int main() { std::cout << "Hello, world!\n"; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Problem_rstring_1
bool behaviour (convertion/promotion) for logical and artihmetic operators
#31
VC typeid example
😊
seh exception in constructor memory leak
#27
amusing overload choice
Error with move capture of a const ref in a lambda function
problem_binary_4
Please log in to post a comment.