Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-28 14:40:17


----- Original Message -----
From: "Douglas Gregor" <gregod_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Sunday, January 27, 2002 1:28 PM
Subject: Re: [boost] [Config] Trivial patch applied to
config/test/boost_no_priv_aggregate.cxx

> On Sunday 27 January 2002 01:21 pm, you wrote:
> > Why don't you instead add
> > void bar() {}
> > Does GCC still warn when the function doesn't do anything?
>
> No, it doesn't. Is there some reason to prefer the above to what already
> exists?

Actually, IMO the right answer is void uncallable(); with no body.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk