Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-08 11:33:48


"Andy Little" <andy_at_[hidden]> writes:

> "David Abrahams" <dave_at_[hidden]> wrote
>
>> Are you sure you want to be using even a perfect implementation of
>> is_sequence?
>
> I'm sure one good use is giving more concise error messages.
> BOOST_STATIC_ASSERT((boost::mpl::is_sequence<T>::value));
> (or other preferred invocation)
> can help to pinpoint a conceptual error (or a lack of a '::type) quickly.

Good point.

-- 
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