Boost logo

Boost :

From: helmut.zeisel_at_[hidden]
Date: 2001-08-17 10:37:17


--- In boost_at_y..., Gabriel Dos Reis <Gabriel.Dos-Reis_at_c...> wrote:
> helmut.zeisel_at_a... writes:
>
> [...]
>
> | A possible workaround for that problem could be
> | to add some traits for rational_cast,
> | e.g. by the following change in rational.hpp:
>
> Or use a class helper

For me it makes not much difference
whether traits or a class helper is used,
as long as it is a working solution.

A class helper, however, needs partial specialization,
which is, AFAIK, not so well supported on some compilers

From a pragmatic point of view,
I would like to see a solution that works
on as many compilers as possible.

Are there any experiences what to prefer?

Helmut


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