Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
шаблонизированное наследование
//g++ 5.4.0 #include <iostream> template <typename B> struct A { void foo(auto arg) {} }; template <typename T> struct B : public A<B<T>> { using value_type = T; B() { A<B<T>>::foo(T()); } }; int main() { B<float>(); }
run
|
edit
|
history
|
help
0
Test Euler Graph
Boost phoenix. e.g 2: functor
Nth max element in BST
341 30 - B
Изволов#8
Best time to buy and sell stocks
HI
19 მარტს დამუშავებული
protected
Updated Linked Lists - 5/10/2017 V4.0