Boost logo

Boost :

From: Gabriel Dos Reis (Gabriel.Dos-Reis_at_[hidden])
Date: 2001-01-25 15:11:38


Dietmar Kuehl <dietmar_kuehl_at_[hidden]> writes:

| Hi,
| Matt Austern wrote:
|
| > Yes, a paper on this subject would be very useful. I don't know of any
| > promising solutions other than function template partial specialization
| > and overloads with namespace std.
|
| It ain't pretty but if we really need function template partial
| specialization
| we can emulate it:
|
| template <typename T>
| struct swap_t {

That is what I used to suggest. It provides a uniform framework hook
for standard function "specialisations". It doesn't have the
overloading surprise.

-- Gaby


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