Multiple ChoiceIntermediate 45s
Strong vs basic vs nothrow guarantee
Which exception guarantee does std::vector::push_back provide when reallocation occurs and the element type is move-only and its move constructor is not noexcept?
Options
- 1Strong guarantee always
- 2Basic guarantee only
- 3Nothrow guarantee always
- 4No guarantee at all
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.