Tag: noexcept
3 posts
-
C++ Clean Code Basics: Express Intent with const and noexcept
Use const correctness, noexcept, and [[nodiscard]] in C++ APIs so interfaces state what they guarantee.
-
C++ noexcept Specifier: Contracts, Moves, and std::terminate
How noexcept actually changes program behavior: why a violated noexcept promise skips exception handling entirely and calls std::terminate, and why vector silently falls back to copying without a noexcept move constructor.
-
C++ Exception Specifications: noexcept, History, and throw
C++ exception specifications from throw() to noexcept: move operations, swap, destructors, conditional noexcept, and why dynamic specs were removed.