Boost logo

Boost :

From: Nathan Myers (ncm_at_[hidden])
Date: 1999-07-01 12:46:48


Nico wrote:
> Dave Abrahams wrote:
> > #ifndef __SGI_STL_INTERNAL_FUNCTION_H
> > # define compose1 compose_f_gx
> > # define compose2 compose_f_gx_hx
> > #endif
> >
> > Why would anyone do that?
>
> This is to honor the fact that the SGI implementation
> uses compose1 and compose2 instead of compose_f_gx and compose_f_gx_hx
> for years now ...

You don't need macros for that. You can provide duplicate
definitions, or inlines that call the official names.

BTW: Is the sense of the #ifndef, above, correct?

Nathan Myers
ncm_at_[hidden]

------------------------------------------------------------------------

eGroups.com home: http://www.egroups.com/group/boost
http://www.egroups.com - Simplifying group communications


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