Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Array intialisation
From: gast128 (gast128_at_[hidden])
Date: 2010-03-11 14:01:44


alfC <alfredo.correa <at> gmail.com> writes:

> #include<boost/array.hpp>
> struct Foo
> {
> Foo()
> : m_a((boost::array<int, 4>){1,2,3,4})
> {
> }
> boost::array<int, 4> m_a;
> };
>
> Despite of this possible issue I am using it anyway, but I also would
> like to know what are the possible issues and portability (please, let
> me know if you compiler is not gcc).

This doens't compile on vstudio 2003.

I have to put here some extra dummy text, because without this text i
get 'There's much more quoted text in your article than new. Prune quoted
stuff.'.


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