Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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
Please
log in
to post a comment.
ordinary queue
Code
Number of paths in matrix
Hangman
Fibonacci stairs
bad_cast
xxx
xyz1_1 programm
thread-destructor
binary
Please log in to post a comment.