Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-22 01:36:13

"David B. Held" <dheld_at_[hidden]> writes:

> Does it work with VC6?


You need to help it a little by sticking some macro invocations in
your metafunctions:

    // Return true if T is a pointer to function
    template <class T>
    struct is_pointer_to_function
        : mpl::if_<
            , is_pointer_to_function_aux<T>
            , mpl::bool_c<false>

All the boost type traits already come with those macros predefined.

                       David Abrahams
   dave_at_[hidden] *
Boost support, enhancements, training, and commercial distribution

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