|
Boost Users : |
Subject: Re: [Boost-users] [fusion] vector slicing (sort of)
From: joel (joel.falcou_at_[hidden])
Date: 2009-10-25 12:21:04
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
-- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35
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