Boost logo

Boost :

From: Kevin Atkinson (kevinatk_at_[hidden])
Date: 2000-03-29 00:22:37


On Tue, 28 Mar 2000, Dave Abrahams wrote:

> on 3/28/00 5:17 AM, Ian Bruntlett at Ian.Bruntlett_at_[hidden] wrote:
>
> > Can someone help with template specialisation of operator~()
> > Source code is at the bottom of the message.
>
> Just what exactly do you expect this to do? operator~() has nothing to do
> with destruction: it's the unary operator which is used to invert the bits
> of integral types. Am I missing something?

I think he is confusing operator~ with the destructor. The destructor is
~ClassName not ClassName::operator~.

Am I correct?

---
Kevin Atkinson
kevinatk_at_[hidden]
http://metalab.unc.edu/kevina/

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