Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 1999-12-29 12:16:53


>> There's a lot of use of "(void)" for parameter lists. Since it's C++, I
>> suggest you use "()" instead.

> OK, I'll change this one -- stylistic convention. . . I do prefer to use
> "(void)" for overloaded operators, though.

Why? Noting that "(void)" was added for compatibility with Standard C, I
only use it if there is a special reason to do so. Does "(void)" make
operator declarations clearer in some way that I'm overlooking?

    -- Darin


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