PrevUpHomeNext

Macro bm_this

bm_this — a pointer to the owning object of the current mixin

Synopsis

// In header: <boost/mixin/mixin.hpp>

bm_this

Description

Much like this is a pointer to the current class, bm_this is a macro that, for mixins, points to the current object.

It is nothing more than boost::mixin::object_of(this)

[Note] Note

You can disable the definition of this macro by defining BOOST_MIXIN_NO_BM_THIS before including the library's headers.

See Also:

object_of()


PrevUpHomeNext