Re: [C++] Initialization lists with array
From: Chris \( Val \) (chrisval_at_bigpond.com.au)
Date: 03/30/04
- Previous message: Karl Heinz Buchegger: "Re: C Struct question"
- In reply to: Gary Labowitz: "Re: [C++] Initialization lists with array"
- Next in thread: Old Wolf: "Re: [C++] Initialization lists with array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Mar 2004 23:28:54 +1000
"Gary Labowitz" <glabowitz@comcast.net> wrote in message
news:hO2dnfdXrrh1Iv7dRVn-hA@comcast.com...
| "Chris ( Val )" <chrisval@bigpond.com.au> wrote in message
| news:c3rv7m$2bvs7r$1@ID-110726.news.uni-berlin.de...
| >
|
| > In essence, just because we can apply an algorithms to the
| > std::string class, does not mean that we should call it a
| > container class. Btw(please correct me if I'm wrong), but I
| > had thought that the std::string class had already been written,
| > prior to the adoption of the STL by the committee ?
|
| But it does container a sequence of char's. Doesn't that make it a container
| candidate?
Yes, it does container a sequence of char's, but so does a
standard character array, of which algorithms can be applied
to as well.
Cheers.
Chris Val
- Previous message: Karl Heinz Buchegger: "Re: C Struct question"
- In reply to: Gary Labowitz: "Re: [C++] Initialization lists with array"
- Next in thread: Old Wolf: "Re: [C++] Initialization lists with array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|