Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Non type template argument
//clang 3.8.0 #include <iostream> using namespace std; template<class T,int S> T func(T a){ return a*S; } int main() { cout<<func<int,2>(20)<<endl; cout<<func<int,3>(30); }
run
|
edit
|
history
|
help
0
Composite pattern
Tree Traversal and Node
ghfhfgh
DESim Example Starter Code
Throttle Example using circular queue (push all but 2 less than maxSize; then pop all but 2 less than current size)
constructor-is-not-called-in-this-aggregation-class
HTML Timetable generator.cpp
Example Node Program
Forgetting to check end
numeric_limits