|
Boost Users : |
Subject: Re: [Boost-users] Problem transforming a vector<bool> to a vector<any>
From: Fabrice_CBA (fabrice.lecuyer_at_[hidden])
Date: 2009-02-03 22:53:48
Steven Watanabe-4 wrote:
>
> AMDG
>
> vector<bool> strikes again...
>
> The problem is that for vector<bool> (only)
> source2[0] is not of type bool. You need to cast.
>
> In Christ,
> Steven Watanabe
>
>
Hi Steven, and thanks for your answer.
I've looked it up, and indeed vector<bool> is a problematic structure...
Clearly the work of an evil spirit.
Anyway, knowing that, it will be easier for me to find a workaround.
Many thanks,
Fabrice
-- View this message in context: http://www.nabble.com/Problem-transforming-a-vector%3Cbool%3E-to-a-vector%3Cany%3E-tp21822878p21823989.html Sent from the Boost - Users mailing list archive at Nabble.com.
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