More lectures at https://www.udemy.com/cpp-in-detail-e...
Note that noexcept operator performs a compile-time check and doesn’t evaluate the expression.
Unlike operator, noexcept specifier can take only constant expressions that evaluate to either true or false; noexcept specifier can only be used with functions, methods, lambdas, function pointers.
On the other hand, noexcept operator takes any expression and can be used in other expressions. Call to noexcept operator is itself a constant expression.
Furthermore, noexcept operator doesn’t analyze function definition. If you have throw expression in your function, it won’t affect noexcept operator; noexcept operator will look only at declaration.
Auf dieser Seite können Sie das Online-Video C++ noexcept specifier vs noexcept operator mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Cpp in Detail 30 März 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,214 Mal angesehen und es wurde von 20 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!