Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-05-16 09:02:37


Tobias Schwinger <tschwinger_at_[hidden]> writes:

> WHAT:
> =====
>
> An instantiation of "begin<T>::type" fails to compile if T is an MPL
> Integral Constant. 'begin' is supposed to return 'void_' for all types
> that do not model the MPL Sequence concept. The bug also causes
> is_sequence' to fail.
>
>
> FILES:
> ======
>
> - begin_end_impl.hpp.patch
>
> changes needed to make things work like documented
>
> - is_sequence.cpp.patch
>
> inclusion of the problematic case in the test suite
>
> diffed against: CVS HEAD

Looks good to me. Please apply to HEAD and, (unless Aleksey
contradicts me) after you see the test results, also to the RC branch.

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