Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #8629

Re: reading a file into std::string

From "Bo Persson" <bop@gmb.dk>
Newsgroups comp.lang.c++
Subject Re: reading a file into std::string
Date 2011-08-10 16:19 +0200
Message-ID <9afiaoFlhoU1@mid.individual.net> (permalink)
References <4e3fe183$0$316$14726298@news.sunsite.dk><cone.1312811905.617876.25291.500@monster.email-scan.com><cone.1312812316.772351.25291.500@monster.email-scan.com><j1pgkl$q92$1@dont-email.me> <4e40c1f8$0$310$14726298@news.sunsite.dk><j1qj58$ue4$1@dont-email.me> <4e40d7a6$0$310$14726298@news.sunsite.dk><j1rn4i$td1$1@dont-email.me> <4e426460$0$302$14726298@news.sunsite.dk>

Show all headers | View raw


arnuld wrote:
>> On Tue, 09 Aug 2011 09:26:58 -0700, red floyd wrote:
>
>> ISO/IEC 14882:2003, sections 21.3/6 [lib.basic.string] and
>>                               21.3.1/14 [lib.string.cons]
>
>> template<class InputIterator>
>> basic_string(InputIterator begin, InputIterator end,
>>               const Allocator& a = Allocator());
>
> I have n3242.pdf and in section 21.3 (page 624) I can't find this
> (may template syntax is too alien for me). 2nd, even if its there,
> we used 2 arguments unlike 3 mentioned here. I assume it will have
> some default value.

It is a member (constructor). See page 629 and bottom of page 634.



Bo Persson

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

reading a file into std::string arnuld <sunrise@invalid.address> - 2011-08-08 13:15 +0000
  Re: reading a file into std::string Marc <marc.glisse@gmail.com> - 2011-08-08 13:40 +0000
  Re: reading a file into std::string Sam <sam@email-scan.com> - 2011-08-08 08:58 -0500
    Re: reading a file into std::string Sam <sam@email-scan.com> - 2011-08-08 09:05 -0500
      Re: reading a file into std::string red floyd <no.spam.here@its.invalid> - 2011-08-08 13:23 -0700
        Re: reading a file into std::string arnuld <sunrise@invalid.address> - 2011-08-09 05:13 +0000
          Re: reading a file into std::string red floyd <no.spam.here@its.invalid> - 2011-08-08 23:12 -0700
            Re: reading a file into std::string arnuld <sunrise@invalid.address> - 2011-08-09 06:45 +0000
              Re: reading a file into std::string red floyd <no.spam.here@its.invalid> - 2011-08-09 09:26 -0700
                Re: reading a file into std::string arnuld <sunrise@invalid.address> - 2011-08-10 10:58 +0000
                Re: reading a file into std::string "Bo Persson" <bop@gmb.dk> - 2011-08-10 16:19 +0200
                Re: reading a file into std::string red floyd <no.spam.here@its.invalid> - 2011-08-10 10:06 -0700
              Re: reading a file into std::string red floyd <no.spam.here@its.invalid> - 2011-08-09 09:28 -0700
              Re: reading a file into std::string red floyd <no.spam.here@its.invalid> - 2011-08-09 09:33 -0700
                Re: reading a file into std::string arnuld <sunrise@invalid.address> - 2011-08-10 12:13 +0000
                Re: reading a file into std::string Nobody <nobody@nowhere.com> - 2011-08-11 08:57 +0100
                Re: reading a file into std::string "Bo Persson" <bop@gmb.dk> - 2011-08-11 12:51 +0200
                Re: reading a file into std::string Nobody <nobody@nowhere.com> - 2011-08-12 05:00 +0100
      Re: reading a file into std::string Nana J. Osei <mppccf0987@att.net> - 2011-08-13 23:18 +0000
        Re: reading a file into std::string Sam <sam@email-scan.com> - 2011-08-13 20:58 -0500
    Re: reading a file into std::string Juha Nieminen <nospam@thanks.invalid> - 2011-08-09 11:26 +0000
      Re: reading a file into std::string Marc <marc.glisse@gmail.com> - 2011-08-09 12:54 +0000
        Re: reading a file into std::string Juha Nieminen <nospam@thanks.invalid> - 2011-08-09 16:33 +0000
          Re: reading a file into std::string Marc <marc.glisse@gmail.com> - 2011-08-09 16:47 +0000
            Re: reading a file into std::string red floyd <no.spam.here@its.invalid> - 2011-08-09 11:27 -0700
              Re: reading a file into std::string Joshua Maurice <joshuamaurice@gmail.com> - 2011-08-11 15:34 -0700
                Re: reading a file into std::string Juha Nieminen <nospam@thanks.invalid> - 2011-08-12 05:47 +0000
      Re: reading a file into std::string arnuld <sunrise@invalid.address> - 2011-08-09 12:57 +0000
        Re: reading a file into std::string Joshua Maurice <joshuamaurice@gmail.com> - 2011-08-11 15:40 -0700
  Re: reading a file into std::string Jean-Luc Romano <jl_post@hotmail.com> - 2011-08-12 11:28 -0700
    Re: reading a file into std::string Lynn McGuire <lmc@winsim.com> - 2011-08-12 15:56 -0500

csiph-web