Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-09 10:58:52


From: "Jeremy Siek" <jsiek_at_[hidden]>

> On Fri, 9 Aug 2002, Fernando Cacciola wrote:
> fcacci> It's true that users are not supposed to add to namespace boost,
but it is
>
> Dave already said this is not true, but I'd like to emphasize this even
> more. It is a good idea to allow users to add stuff to namespace boost,
> provided what they are adding is overloads to functions, or
> specializations of class templates, that were meant to be overloaded or
> specialized. This is one of the safer ways to provide customization
> points.

Careful: the lookup rules for qualified calls make them highly unsuited to
use as customization points. Also, specializations are not "new
definitions", which is what Peter originally said were prohibited.

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


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