Boost logo

Boost Users :

Subject: Re: [Boost-users] [Containter] Compilation errors with 1.55 and VC2013
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-11-05 17:10:21


On Nov 3, 2013, at 12:54 PM, Szymon Gatner <szymon.gatner_at_[hidden]> wrote:

> 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)

I just tried this using gcc and clang, and got no error, so this sounds like a VS 2013-only problem.
Thanks for the report.

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


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