« Return to Thread: Mark throw_exception as noreturn?

Re: Mark throw_exception as noreturn?

by Andrey Semashev-2 :: Rate this Message:

Reply to Author | View in Thread

Gennaro Prota wrote:

> For the immediate needs, however,
> you could use BOOST_UNREACHABLE_RETURN in the calling function.

>From what I see from Boost.Config headers, the macro unfolds to
something non-empty only for three compilers, and GCC is not among them.
I encountered the problem with GCC.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

 « Return to Thread: Mark throw_exception as noreturn?