Boost logo

Boost :

From: Justin M. Lewis (boost_at_[hidden])
Date: 2003-05-03 17:21:49

Sure, but if you're willing to type auto_ptr<whatever>(v) all over the
place, why not make the intent explicit and just do out(v)

You solution requires just as much typing, and support from developers, but
it lacks the explicitness my proposal gives.

So, why not just go all the way and make it 100% clear?

----- Original Message -----
From: "Noel Yap" <Noel.Yap_at_[hidden]>
To: "Boost mailing list" <boost_at_[hidden]>
Sent: Saturday, May 03, 2003 3:22 PM
Subject: Re: [boost] Re: in/out parameters, codingstylesandmaintenance

> "Justin M. Lewis" wrote:
> > So, IF my idea had been used, instead of looking for each function call,
> > then having to go look up each function for each var I'm interested in
> > see the prototype, I could have done a couple quick searches
> > var =
> > out(var)
> > in_out(var)
> I think the same can be said about my suggested coding style; search
> for:
> var *=
> auto_ptr< .* > *var
> dumb_ptr< .* > *var
> Noel
> _______________________________________________
> Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at