Macro BOOST_CONTRACT_NAMED_OVERRIDE
BOOST_CONTRACT_NAMED_OVERRIDE — Declare an override type with an arbitrary name.
Synopsis
BOOST_CONTRACT_NAMED_OVERRIDE(type_name, func_name)
Description
Declare the override type to pass as an explicit template parameter to boost::contract::public_function
for public function overrides.
See Also:
Named Overrides
Parameters: |
func_name
|
Function name of the public function override. This macro is called just once even if the function name is overloaded (the same override type is used for all overloaded functions with the same name, see
Function Overloads). (This is not a variadic macro parameter but it should never contain commas because it is an identifier.) |
type_name
|
Name of the override type this macro will declare. (This is not a variadic macro parameter but it should never contain commas because it is an identifier.) |
|