Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-12-11 13:56:44


The is_compound docs say:

" ::boost::is_compound<T>::value Evaluates to true only if T is a
compound type. That is an array, function, pointer, reference,
enumerator, union, class or member function type."
                            ^^^^^^^^^^^^^^^^^^^^
What is that? IIUC, you can only form pointers to member functions.
Am I missing something?

Wouldn't it be simpler to say:

     "not a void, integral, floating, or enum type"

??

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk