boostorg / exception

Boost.org exception module
http://boost.org/libs/exception
Boost Software License 1.0
16 stars 46 forks source link

Macro vanished, but still documented #38

Closed ChristofKaufmann closed 3 years ago

ChristofKaufmann commented 3 years ago

I got a compile error with an updated boost version about an undefined macro, namely BOOST_THROW_EXCEPTION_CURRENT_FUNCTION. I could resolve it by replacing it by BOOST_CURRENT_FUNCTION. However, it is still documented in Configuration Macros. So is this a documentation error or has it been removed accidentally?

zajo commented 3 years ago

Yeah, the macro does not exist now. I'll remove it from the documentation, but it really wasn't something you'd use, it was something you'd define for BOOST_THROW_EXCEPTION to use.

When Boost was modularized, boost::throw_exception was separated in its own git submodule, thus making it a separate library from Boost Exception. It now has its own documentation, which I recommend you read. I should put a link in Boost Exception so there is no confusion.

ChristofKaufmann commented 3 years ago

Thanks for clarification! I'll leave this open for you as a reminder to remove it the documentation and put the link up.