Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-06-09 21:26:45


"Eric Friedman" <ebf_at_[hidden]> writes:

> David Abrahams writes:
>> "Eric Friedman" <ebf_at_[hidden]> writes:
>>
>> > I've found that mpl::is_sequence fails to operate correctly on certain
> types
>> > under MSVC7. I haven't tested extensively, but there certainly seems to
> be
>> > some problem with class templates from namespace std. (The problem
> likely
>> > extends to other types in other namespaces, and perhaps other compilers,
> but
>> > I have not investigated the issue thoroughly enough.)
>>
>> Just msvc6. The problem is that the workarounds used for vc are
>> somewhat limited. One solution I can see is to change the "or_"
>> below into an "and_" and update mpl::list to use a "_tag" as well.
> [snip]
>
> Update mpl::list? Does this imply 'workaround' additions must be made to any
> user-supplied sequences as well?

Such is life.

> If so, this should probably become part of the MPL documentation
> (when docs on creating user-defined sequences are added).

Of course.

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