Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
VC++ error LNK2001 with combined use of non-type template parameters
template<void const* const& P> struct S { static void const* const V; }; template<void const* const& P> void const* const S<P>::V = &P; extern void const* const D = ""; int main() { void const* p = &S<S<D>::V>::V; }
run
|
edit
|
history
|
help
0
StreamParam
Fibonacci stairs
narrow_cast
VC++
seh exception in constructor memory leak
hangman
Wide string conversion with multibyte chars and locale
cv5
what is this
Catching divide-by-zero with /EHc