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

PrevUpHomeNext

Class deconstruct_access

boost::signals2::deconstruct_access — Gives deconstruct access to private/protected constructors.

Synopsis

// In header: <boost/signals2/deconstruct.hpp>


class deconstruct_access {
};

Description

Declaring deconstruct_access a friend to your class will give the deconstruct factory function access to your class' private and protected constructors. Using private constructors in conjunction with deconstruct_access can be useful to ensure postconstructible or predestructible objects are always created properly using deconstruct.


PrevUpHomeNext