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
Test3
Ordered Graphs
C++ Register
the usual name hiding rules do apply with using directives
BucketSort
DESim Example with Hash Table Starter Code
<string> No indirect include of <errno.h>
1337
Set sub sequences.
Example