Re: [boost] Re: Proposal: static_string library

2003-03-06 Thread Terje Slettebø
>From: "Robert Klarer" <[EMAIL PROTECTED]> > Terje Slettebø wrote: > > > If run-time computation is ok, and that one only wants to avoid dynamical > > allocation, then one might do something like I used in another posting in > > this thread: > > > > template > > class fixed_size_string; > > > > te

[boost] Re: Proposal: static_string library

2003-03-06 Thread Robert Klarer
Beman Dawes wrote: > Unfortunate? Is that one of those understatement jokes Canadians are known > for? I'd say it is way worse that "unfortunate" - it is ugly and error > prone. I didn't want to prejudice the group with judgemental language like "ugly and error prone." :-) I certainly recognize

[boost] Re: Proposal: static_string library

2003-03-06 Thread Robert Klarer
Terje Slettebø wrote: > If run-time computation is ok, and that one only wants to avoid dynamical > allocation, then one might do something like I used in another posting in > this thread: > > template > class fixed_size_string; > > template > fixed_size_string operator+(const > fixed_size_strin

Re: [boost] Re: Proposal: static_string library

2003-03-06 Thread Terje Slettebø
>From: "Phil Nash" <[EMAIL PROTECTED]> > > Robert Klarer wrote: > > > The syntax for declaring a static_string is unfortunate, but once it has > > > been declared, a static_string's interface is (almost*) the same as that > > > of a const std::string. > > Yes, you right it's unfortunate and IMHO i

Re: [boost] Re: Proposal: static_string library

2003-03-06 Thread Phil Nash
> Robert Klarer wrote: > > The syntax for declaring a static_string is unfortunate, but once it has > > been declared, a static_string's interface is (almost*) the same as that > > of a const std::string. > Yes, you right it's unfortunate and IMHO is not appropriate for a wide use. > > >typede

[boost] Re: Proposal: static_string library

2003-03-06 Thread Alexander Nasonov
Robert Klarer wrote: > The syntax for declaring a static_string is unfortunate, but once it has > been declared, a static_string's interface is (almost*) the same as that > of a const std::string. Yes, you right it's unfortunate and IMHO is not appropriate for a wide use. >typedef boost::stati