|
Boost Users : |
Subject: Re: [Boost-users] [boost::mpl][boost::variant]
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-03-04 21:21:02
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 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