Boost logo

Boost Users :

Subject: Re: [Boost-users] [Containter] Compilation errors with 1.55 and VC2013
From: Szymon Gatner (szymon.gatner_at_[hidden])
Date: 2013-11-04 12:31:53


Hi,

just checked and error still exist in RC2

2013/11/3 Szymon Gatner <szymon.gatner_at_[hidden]>

> Hi,
>
> I am getting compilation errors with Container library after trying to
> build with Visual Studio 2013 and Boost 1.55 RC:
>
> Error 1 error C2228: left of '.select_on_container_copy_construction'
> must have class/struct/union
> c:\devel\boost_1_55_0\boost\intrusive\detail\has_member_function_callable_with.hpp
> 200 1 ConsoleApplication2
>
>
> Minimalistic example to reproduce:
>
>
> #include <boost/signals2/connection.hpp>
> #include <boost/container/slist.hpp>
> #include <boost/container/vector.hpp>
>
>
> int main()
> {
> typedef boost::signals2::connection Connection;
> boost::container::vector<Connection> connections_;
> }
>
> Error happens wheter vector or slist is used (didn't try more containers)
>
> Regards,
> Szymon Gatner
>



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