Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 12:41:55 +0200
From:      "Volker Sturm" <v.sturm@gmx.de>
To:        <freebsd-hackers@freebsd.org>
Subject:   g++ and substring extraction
Message-ID:  <000201c1092c$f05f4130$0100a8c0@volker>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201c1092c$f05f4130$0100a8c0>