Boost logo

Boost Users :

Subject: Re: [Boost-users] New declaration ambiguates old declaration mutant.hpp
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-01 12:05:42


AMDG

Celine.Murphy_at_[hidden] wrote:
> /ThirdParty/include/boost-1.38.0/boost-1_38/boost/bimap/relation/detail/
> mutant.hpp:68: new
> declaration `template<class View, class Type>
> boost::enable_if<boost::is_const<Reference>, const View&>::type
> boost::bimaps::relation::detail::mutate(Type&)'
>
> /ThirdParty/include/boost-1.38.0/boost-1_38/boost/bimap/relation/detail/
> mutant.hpp:55: ambiguates
>
> old declaration `template<class View, class Type>
> boost::enable_if<boost::mpl::not_<boost::is_const<Reference> >,
> View&>::type
> boost::bimaps::relation::detail::mutate(Type&)'
>
> Hi,
>
> I am getting the above error when I try to compile a class that includes
> boost/bimap.hpp.
>
> It happens at the include stage.
>
> Has anyone seen this before?
>
> Gcc 3.2.3, boost 1.38.
>

Most likely your compiler is too old.

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