Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] vector slicing (sort of)
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-10-25 20:46:01


Jean-Louis Leroy wrote:
> joel wrote:
>> Jean-Louis Leroy wrote:
>>> I am a bit surprised that this compiles:
>>>
>>> vector<char, int> v2;
>>> vector<char> v1(v2);
>>> v1 = v2;
>> Well, there is no static check on the size of both fusion::vector.
>> v2 = v1 should not compile tough
>
> Info: I use msvc9 express.

Clearly a bug. Please file a bug report.

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net
http://www.facebook.com/djowel
Meet me at BoostCon
http://www.boostcon.com/home
http://www.facebook.com/boostcon

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