[C++-sig] [boost.python] char arrays in structs
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Mon Jul 4 18:56:34 CEST 2005
--- David Abrahams <dave at boost-consulting.com> wrote:
> "Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com> writes:
>
> >
> > Here bar_t is equivalent to a plain char*. The size information is lost.
> This
> > due to the C heritage.
>
> That's incorrect.
Oh, sorry.
What is correct then?
Why would I want to use "boost::array<char, 4>" instead of "typedef char[4]"?
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
More information about the Cplusplus-sig
mailing list