...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
BOOST_CONTRACT_OVERRIDES — Declare multiple override types at once naming them override_...
(for convenience).
// In header: <boost/contract/override.hpp>
BOOST_CONTRACT_OVERRIDES(...)
This variadic macro is provided for convenience only, 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 types can be equivalently programmed one-by-one calling BOOST_CONTRACT_OVERRIDE
for each function name as shown above.
See Also:
Parameters: |
|