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
Throttle Example (Send two requests every two seconds)
List comprehension in C++ using functional patterns
even number
overloading
set/map equal_range bug in libc++
mpi_distributed_sort
Composite pattern
le regime keto aviss
chakib
pointer to pointer