Boost logo

Boost Users :

Subject: Re: [Boost-users] [container] Initialization from transformed_range compilation error
From: Daniel James (dnljms_at_[hidden])
Date: 2011-09-06 19:31:30


2011/9/6 Ion Gaztañaga <igaztanaga_at_[hidden]>:
> El 06/09/2011 1:17, Daniel James escribió:
>>
>> 2011/9/5 Ion Gaztañaga<igaztanaga_at_[hidden]>:
>>>
>>> Ok, I'll try to check what's wrong with Boost.Container.
>>>
>>> Thanks for the report
>>
>> I don't know if this is related but some of your insertion functions
>> have problems with implicit conversions. This fails:
>
>
> I think I've corrected this. Can you try trunk (boost.move+boost.container)
> code please?

That fixed it, but I found another failure:

    #include <boost/container/vector.hpp>
    #include <string>

    struct template_symbol
    {
        boost::container::vector<std::string> params;
    };

    int main()
    {
        boost::container::vector<template_symbol> storage;
        template_symbol symbol;
        storage.push_back(symbol);
    }


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