Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
MSVC noexcept - works
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
#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; }
cl.exe
Show compiler warnings
[
+
] Compiler args
[
+
]
Show input
Compilation time: 1,16 sec, absolute running time: 1,44 sec, absolute service time: 2,61 sec
fork mode
|
history
|
discussion
Error(s):
Process exit code is not 0: -1073740791