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
Watanabe
Sent: Wednesday, March 04, 2009 9:21 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] [boost::mpl][boost::variant]

AMDG

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_<
                                             boost::is_same<
next_type_temp, end >,
                                             typename
bm::deref<sequence_beg_type>::type,
                                             next_type_temp
>::type next_type;

In Christ,
Steven Watanabe

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net