Run Code
|
API
|
Code Wall
|
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
dharm1
123
C++ standard library formatted input hexadecimal float without prefix or exponent test case
Data structure alignment
timeConversion
rstring
Why is vsnprintf Not Writing the Same Number of Characters as strncpy Would?
Cannot allocate an array of constant size 0
Zero
Sorting algorithm comparison