|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-07-16 07:44:30
From: "Beman Dawes" <bdawes_at_[hidden]>
> At 07:04 PM 7/15/2002, Tom Harris wrote:
>
> >Two comments:
> > Win32 calls are not prefixed by `::`, whereas the POSIX calls are,
> >is there a reason for this?
>
> With the Win32 calls, there is no chance of a reader mistaking a Win32 API
> name for something else. With the POSIX implementation, namespace
> boost::filesystem functions are sometimes implemented with POSIX functions
> of the same name. Even when the compiler can keep the names straight, I
> thought :: would make it clearer to the reader. That was the theory,
> anyhow.
FWIW, I always prefix my win32 calls with :: as a matter of style.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk