Opened 12 years ago

Last modified 12 years ago

#4591 new Bugs

Missing preprocessor guard in mpl::for_each

Reported by: Iakov Minochkin <anberlin_myplace@…> Owned by: Aleksey Gurtovoy
Milestone: To Be Determined Component: mpl
Version: Boost 1.44.0 Severity: Problem
Keywords: mpl for_each Cc:

Description

Implementation has assert

BOOST_MPL_ASSERT(( is_sequence<Sequence> ));

witch must be guarded:

#if !defined(BOOST_MPL_CFG_NO_HAS_XXX)

BOOST_MPL_ASSERT(( is_sequence<Sequence> ));

#endif

for working with old compilers.

Change History (1)

comment:1 by Joel Falcou, 12 years ago

Iakov, which compilers are you using that reproduce this problem ?

Regards

Note: See TracTickets for help on using tickets.