|
Boost : |
From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2001-12-04 06:29:08
walter_at_[hidden] wrote:
> We would prefer to only support free functions for the construction
> of projections.
>
> Pros:
> - The interdependence of classes decreases.
> - It's easier to extend the design with other proxies, for example
> slices or diagonals.
> - The library code gets smaller.
>
> Cons:
> - We'll lose certain (small) optimizations on compilers, which don't
> support partial template specialization.
>
> Any comments?
Interface looks better so that's good !
Although performance is of utmost importance to numerics stuff, I don't
mind losing (small) optimisations only for compilers which don't support
partial template specialisiation : all compilers will in the long term
so you should not corrupt your design in the short term (if there are
enough alternatives)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk