You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most constructors will never throw an exception as they typically just set internal data members. They should be marked noexcept. The two main reasons for this are:
Allows potential additional optimizations of the code
More explicit decorators/declarations for library functions
(most importantly) Removes the exceptional path from the constructor as a part of code coverage
The text was updated successfully, but these errors were encountered:
Most constructors will never throw an exception as they typically just set internal data members. They should be marked noexcept. The two main reasons for this are:
The text was updated successfully, but these errors were encountered: