$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Markus Werle (numerical.simulation_at_[hidden])
Date: 2003-07-14 03:00:58
Thomas Witt wrote:
> 3. To me the disable templates don't add any value. They are just
> duplicating the amount of code without any real benefit. I know this is
> a matter of taste, it's just that I would prefer a minimal interface.
Following David's arguments towards mpl compatibility and removing
direct use of && || etc.
I'd prefer
template <class T, class U>
typename disable_if<mpl::and<is_matrix<T>, is_vector<U> >,...>::type
operator*(const T& t, const U& u);
and feel uncomfortable about adding another "not", just because
_my_ code is ugly enough already
template <class T, class U>
typename enable_if<mpl::not<mpl::and<is_matrix<T>,
is_vector<U> >,...> >::type
operator*(const T& t, const U& u);
So please keep disable_if.
Markus
-- Build your own Expression Template Library with Daixtrose! Visit http://daixtrose.sourceforge.net/