Boost logo

Boost :

From: Thomas Matelich (sosedada_at_[hidden])
Date: 2001-03-27 16:56:42


Craig Henderson wrote:

> It must be taken into account during the design of such a library, the
> differences between OSs. For example, UNIX '/' and MS '\'. The
> description of the isabs() in the Python doc below reads "Return true if
> path is an absolute pathname (begins with a slash)." This is true on
> UNIX, but with MS absolute pathnames can begin with "C:\" or "\\" for a
> UNC path.

Just a quick note because people often forget, MS will accept '/' in your
code. All my dir stuff uses '/' exclusively, converting on the way in.
Don't bother #ifdef'ing your logic, just the inputs.

--
Thomas O Matelich
Senior Software Designer
Zetec, Inc.
sosedada_at_[hidden]
tmatelich_at_[hidden]

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