PrevUpHomeNext

Macro BOOST_PARSER_NO_RUNTIME_ASSERTIONS

BOOST_PARSER_NO_RUNTIME_ASSERTIONS

Synopsis

// In header: <boost/parser/config.hpp>

BOOST_PARSER_NO_RUNTIME_ASSERTIONS

Description

Boost.Parser uses assertions (BOOST_ASSERT()) in several places to indicate that your use of the library has an error in it. All of those places could heve instead been ill-formed code, caught at compile time. It is far quicker and easier to determine exactly where in your code such an error is located if this is a runtime failure; you can just look at the stack in your favorite debugger. However, if you want to make thes kinds of errors always ill-formed code, define this macro.


PrevUpHomeNext