Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2022. The current version is 1.89.0.
BOOST_CONTRACT_OVERRIDES — Declare multiple override type traits at once naming them override_... (for convenience).
// In header: <boost/contract/override.hpp>
BOOST_CONTRACT_OVERRIDES(...)This variadic macro is provided for convenience as BOOST_CONTRACT_OVERRIDES(f_1, f_2, ..., f_n) expands to code equivalent to:
BOOST_CONTRACT_OVERRIDE(f_1) BOOST_CONTRACT_OVERRIDE(f_2) ... BOOST_CONTRACT_OVERRIDE(f_n)
On compilers that do not support variadic macros, the override type traits can be equivalently programmed one-by-one calling BOOST_CONTRACT_OVERRIDE for each function name as shown above.
See Also:
Parameters: |
|