Boost logo

Boost :

Subject: Re: [boost] Identifying members
From: wasti (sebastian.redl_at_[hidden])
Date: 2008-10-09 05:19:50

On Wed, 08 Oct 2008 20:15:58 -0600, coppro <coppro_at_[hidden]>
> In C++ it is possible to determine whether there exists a member of a
> class of a specified type (including member functions) with a given
> name. As far as I know, there exists no such functionality in Boost. Why
> is this? It can easily be implemented as a traits class for a specific
> identifier/signature, which can then be made into a macro.

Boost.MPL provides such a macro, although I believe it only detects nested
types at the moment.


Boost list run by bdawes at, gregod at, cpdaniel at, john at