codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
template <typename T> struct Base { }; struct Derived : Base<Derived> { // I love the smell of CRTP in the morning Derived(); }; Derived::Derived() : Base() {};
Private
[
?
]
Run code
Submit