Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-01 15:00:54

     Evaluates to true only if T is a compound type. That is an array, function, pointer, reference, enumerator, union, class or member function type.


Based on this, I thought I could implement is_member_function_pointer with is_member_pointer && is_compound, but as it turns out is_compound is implemented thus:

template <typename T> struct is_compound
   BOOST_STATIC_CONSTANT(bool, value =

Also, based on this thread:, it seems to me that we ought to clearly distinguish member functions from member function pointers.

  David Abrahams, C++ library designer for hire

        C++ Booster (
          email: david.abrahams_at_[hidden]

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