BOOST_OPENMETHOD_DEFINE_OVERRIDER

Define the body of a method overrider.

Synopsis

Declared in <boost/openmethod/macros.hpp>

#define BOOST_OPENMETHOD_DEFINE_OVERRIDER(ID, PARAMETERS, …​)

Description

Defines the body of an overrider declared with BOOST_OPENMETHOD_DECLARE_OVERRIDER. It should be called in an implementation file, and followed by a function body.

ID must be an identifier. Qualified names are not allowed.

Example

Parameters

Name

Description

ID

The method's name.

PARAMETERS

The overrider's parameter list, in parentheses.

...

The overrider's return type.

See Also