[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 3151 - clients/rapidsvn/trunk/src/tests/svncpp clients/rapidsvn/trunk/src/svncpp

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-09-11 00:26:19 CEST

On Tue, Sep 10, 2002 at 10:37:55AM -0700, Brent R. Matzelle wrote:
> --- Philip Martin <philip@codematters.co.uk> wrote:
>...
> > export is a keyword in standard ISO C++ and should not be used as a
> > name. Comeau's EDG-based 4.3 compiler is the only compiler I know
> > of
> > that supports export.
>
> Okay, since it is a keyword does anyone have any suggestions for an
> alternative name? How about 'extract()', 'send()', or 'transport()'?

For things like this, the SWIG code usually recommends appending a trailing
underscore:

  svn::export_()
  svn::switch_()

It is visually less intrusive.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 11 00:27:03 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.