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
Dices by GOOSE
parantheses matching test 1
fusion adapt 64 members v2
Matrix_1
Replace all spaces in a string in C++
Preserving strict aliasing Union example
Sum of numbers in a series using sum formular
template test
du
error_code example