From: Stephen Silver (boost_at_[hidden])
Date: 2001-01-23 18:27:19


Daryle Walker wrote:

> Since we can't put specializations of template functions, like "swap",
> in the "std" namespace,

But we can. 17.4.3.1 / 1 says:

    A program may add template specializations for any standard
    library template to namespace std. Such a specialization
    (complete or partial) of a standard library template results
    in undefined behavior unless the declaration depends on a
    user-defined name of external linkage and unless the specialization
    meets the standard library requirements for the original template.

Stephen