Re: [boost] Re: Re: char[] support in Boost.Range

what's wrong with using boost::array<char,N> for all this?
-Thorsten
If boost::array<char,N> is not going to behave the same at char[N] in this respect surely that is counter intuitive? Wasn't there a fixed string type under consideration that could be applied the opposite way? ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

"dan marsden" <danmarsden@yahoo.co.uk> wrote in message news:20050517191750.12321.qmail@web25107.mail.ukl.yahoo.com... |> | > what's wrong with using boost::array<char,N> for all | > this? | > | > -Thorsten | > | If boost::array<char,N> is not going to behave the | same at char[N] in this respect surely that is counter | intuitive? maybe. is it counter intuitive that char arr[] = "foo"; doesn't need array bounds, but boost::array<char,4> = "foo"; does? Anyway, that wasn't my point. My point was that it is really easy to get the array behavior if you want it. The only part missing is direct support in the range library to trigger array behavior for range arguments, say as_array(). | Wasn't there a fixed string type under consideration | that could be applied the opposite way? | don't know. -Thorsten
participants (2)
-
dan marsden
-
Thorsten Ottosen