Boost logo

Boost :

From: Nicolai Josuttis (nicolai.josuttis_at_[hidden])
Date: 1999-07-01 03:28:19

Dave Abrahams wrote:
> Can someone justify the following in compose.hpp?
> # define compose1 compose_f_gx
> # define compose2 compose_f_gx_hx
> #endif
> Why would anyone do that?
> ------------------------------------------------------------------------
> Just Tell Us What You Want...
> - Shopping the World for You!
> home:
> - Simplifying group communications

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 to stay compatible with code that was written with that
You can call it a "SGI STL compatibility hack".
We can remove it if people have problems with it.
However, as the idea of compose functors came from the SGI STL implementation

Nicolai M. Josuttis
Solutions in Time
------------------------------------------------------------------------ home: - Simplifying group communications

Boost list run by bdawes at, gregod at, cpdaniel at, john at