Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost::mpl][boost::variant]
From: Naveen Santhanam (naveen_at_[hidden])
Date: 2009-03-05 09:01:07

Thanks a lot.

-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Steven
Sent: Wednesday, March 04, 2009 9:21 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] [boost::mpl][boost::variant]


Naveen Santhanam wrote:
> Hello,
> I can't get the attached example to compile, using MS VC 8.0 and
> boost_1_35_0, when I uncomment the comment lines in the code. Can some
> one help me in finding what's wrong?

The problem is that you don't dereference the iterator in circ_sequence.
Try this

            typedef typename bm::if_<
next_type_temp, end >,
>::type next_type;

In Christ,
Steven Watanabe

Boost-users mailing list

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at