Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
nontype template parameter produced with decltype for function
#include <iostream> template <typename T, T nontype> struct CL { void call() { nontype(123); } }; void f(int n) { std::cout << n << std::endl; } CL<void(*)(int), f> cl7; using df = decltype(f); CL<df, f> cl8; // << error int main() { cl8.call(); }
run
|
edit
|
history
|
help
0
Dash-D compiler flag example
Uno v2
wasm test for node
Range List for C++
for_each_argument
pointer to complete array does not convert implicitly to pointer to array of unknown bound
11/29
MPL 2-1
C++ Standard Template Library
UTF-8 in C++11