Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] vector slicing (sort of)
From: Jean-Louis Leroy (jl_at_[hidden])
Date: 2009-10-25 12:31:40


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.

J-L


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