From owner-freebsd-hackers Tue Jul 10 3:40:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 3D01237B405 for ; Tue, 10 Jul 2001 03:40:40 -0700 (PDT) (envelope-from v.sturm@gmx.de) Received: (qmail 21106 invoked by uid 0); 10 Jul 2001 10:40:39 -0000 Received: from pd95653e2.dip.t-dialin.net (HELO volker) (217.86.83.226) by mail.gmx.net (mail01) with SMTP; 10 Jul 2001 10:40:39 -0000 From: "Volker Sturm" To: Subject: g++ and substring extraction Date: Tue, 10 Jul 2001 12:41:55 +0200 Message-ID: <000201c1092c$f05f4130$0100a8c0@volker> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I am using g++ 2.95.3 on 4.3-STABLE. I want to do some string operations in one of my functions. The manual for g++ says that there are member functions like somestring.before(i); or somestring.at(0, i); Problem is that the compiler complains that these member functions don't exist. It only recognizes somestring.at(i); So I did a not very satisfying rebuild of the above functionality by a for(;;)-construct and concatenated the desired string character-wise. Is there a compiler option to be set so that I can access this advanced functionality? Does the FreeBSD-port miss some features? Volker Sturm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message