Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
VS'15 parameter pack sfinae
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <type_traits> template<class T, std::enable_if_t<std::is_integral<T>::value>...> void f(T) {} template<class T, std::enable_if_t<!std::is_integral<T>::value>...> void f(T) {} int main() { f(42); f(13.37); }
run
|
edit
|
history
|
help
0
#30.1
OS_checker
Unicode_wcout
MSVC alias template
Thing v.2
Hangman
Computing factorial of an integer with recursion and iteration [EDIT]
ordinary queue
Waiting for Multiple Objects
DCapSurfaceDesc