Boost logo

Ublas :

Subject: [ublas] [bindings][traits] is_bindable_vector / matrix
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2009-04-15 06:38:34


I've committed an initial version of the is_bindable_vector and
is_bindable_matrix metafunctions.

I've tested a couple of combinations, and it seems to work reasonably.
There's one exception, for it to work better in case of is_bindable_vector
for non-vector types, e.g., a POD type,

traits::is_bindable_vector< double >

inheriting from default_vector_traits should be dropped from the default
template declaration of vector_detail_traits (at line 51 of
vector_traits.hpp).

Would this cause problems?

Thanks,

Rutger