Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2001-06-07 12:35:18


On Thursday 07 June 2001 01:10 pm, you wrote:
> IMO the files function0->9.hpp should be moved into the detail
> subdirectory. The user isn't expected to include just one of them and they
> are just an implementation detail.
>
> -gary-
>
>
> gary.powell_at_[hidden]

Under some circumstances, users will be expected to include only a few of the
function[0-9].hpp functions but not function.hpp.

Binary compatibility is the most often-cited reason for having the
function[0-9] classes... If the "function" class is expanded from 9 to 12
arguments, everything that uses "function" directly will need to be
recompiled. However, if functionN classes are used, no recompilation is
necessary.

Perhaps a more thorough treatment of the numbered classes should be added to
the documentation with the binary compatibility argument.

        Doug


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