boostorg / container

STL-like containers from Boost
http://www.boost.org/libs/container/
Boost Software License 1.0
101 stars 113 forks source link

Missing BOOST_NORETURN for user defined functions #135

Closed bolry closed 4 years ago

bolry commented 4 years ago

BOOST_NORETURN is missing for the interface of the throwning methods when BOOST_CONTAINER_USER_DEFINED_THROW_CALLBACKS is defined. Without them you can get a 'noreturn' function does return warning from g++ at boost/container/static_vector.hpp:46:4.

igaztanaga commented 4 years ago

Many thanks for the pull request!