From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,15e41875b75969fc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!p47g2000hsd.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Dynamically reallocated buffer Date: Fri, 01 Jun 2007 06:04:37 -0700 Organization: http://groups.google.com Message-ID: <1180703077.958912.296690@p47g2000hsd.googlegroups.com> References: <1180679626.254857.59070@w5g2000hsg.googlegroups.com> <%HP7i.44715$Sa4.7177@bgtnsc05-news.ops.worldnet.att.net> NNTP-Posting-Host: 137.138.37.241 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1180703078 7826 127.0.0.1 (1 Jun 2007 13:04:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 1 Jun 2007 13:04:38 +0000 (UTC) In-Reply-To: <%HP7i.44715$Sa4.7177@bgtnsc05-news.ops.worldnet.att.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070228 Red Hat/1.5.0.10-0.1.slc3 Firefox/1.5.0.10,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: p47g2000hsd.googlegroups.com; posting-host=137.138.37.241; posting-account=Ch8E9Q0AAAA7lJxCsphg7hBNIsMsP4AE Xref: g2news1.google.com comp.lang.ada:16024 Date: 2007-06-01T06:04:37-07:00 List-Id: On 1 Cze, 09:15, a...@anon.org (anon) wrote: > >vector buffer; > >// fill the buffer with push_back or insert at end > >// ... > >write_to_device(&buffer[0], buffer.size()); > > Stay away from C++. What is the problem with the code above? > Its the same as a girl on PMS. What is PMS? -- Maciej Sobczak http://www.msobczak.com/