Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
vc++ bug?
#include <iostream> #include <cstdlib> volatile int default_value = 1; template<typename...> struct foo { static int value; }; template<typename... Ts> int foo<Ts...>::value = default_value; int x = foo<int>::value; int main() { std::cout << x; }
run
|
edit
|
history
|
help
0
namespace name resolution
VC++ '-flag Fail
problem_solution5
class with unique_ptr to vector
MSVC C2888 bug
xxx
Sorting algorithm comparison
!Enum
What is the fastest/most efficient way to find the highest set bit (msb) in an integer in C?
ccloader