Glossary: C++ Beyond the Basics
noexcept
A promise that a function never throws. `std::vector` moves elements while growing only if the move constructor is `noexcept`; otherwise it copies.
Glossary: C++ Beyond the Basics
A promise that a function never throws. `std::vector` moves elements while growing only if the move constructor is `noexcept`; otherwise it copies.