Boost logo

Boost :

From: rogeeff (rogeeff_at_[hidden])
Date: 2002-02-23 12:56:59

--- In boost_at_y..., Aleksey Gurtovoy <alexy_at_m...> wrote:
> David Abrahams wrote:
> > Whoa, that's tricky! How do you extend it to more overloads?
> By adding more 'int/long' parameters, see below :). BTW, it seems
that I was
> too cautious when I added 'foo_impl' wrapper - at least MSVC seems
to be
> able to handle things basing only on 'int/long' trick.
> Aleksey

And how would you extend this on:
foo( T )
foo( A<T> )
foo( B<T> )
foo( C<T> )

It would be good idea to create a document in more section describing
this trick for Simulating partial ordering. And I also would like to
know internals: why is it working from standart standpoint?


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