Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Policy class partial specialization inheritance
template<typename T> struct S; template<> struct S<int> { static const int i = 5; }; template<typename T> struct U {}; template<typename T> struct S<U<T>>: S<T> {}; const int j = S<U<int>>::i; int main() { return j; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
accessing private of different type of template
MSVC C2888 bug
atoi on hex
list multiply
narrow_cast
virtual inheritance
SO typeindex pretty_name
MSVC14 <exception> header
dharm1
Attribute of qi parsers
Please log in to post a comment.