Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
MSVC noexcept - works
#include <type_traits> void throwable(){ throw int(4); } struct T{ T() noexcept (true) { throwable(); } T(T&& ) noexcept (true) {} T(const T& ) noexcept (true) {} T& operator = (T&&) noexcept(true) { return *this; } T& operator = (const T&) noexcept(true) { return *this; } ~T() noexcept(false) {} }; int main(){ T a; (void)a; }
run
|
edit
|
history
|
help
0
Calculate sum between two numbers using for-, while-, and do-while loops
student.h
MSVC_example_GetAllocLength
throwing std::function on MSVC is dangerous
program_solution_3
My Window
#30.1
Eight Queen
hangman
C++ standard violation: [templates][explicit instantiation][access checking]