
9 Oct
2008
9 Oct
'08
9:19 a.m.
On Wed, 08 Oct 2008 20:15:58 -0600, coppro <coppro@users.sourceforge.net> wrote:
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. Sebastian