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
poker.hpp
2
VecHotel2
ISPrime
TwoANOVA
Avoiding visited networked paths
Ss
Dar
Find the max and min number in array
不带头结点的单链表