Boost logo

Ublas :

Subject: Re: [ublas] [bindings][traits] is_vector, is_matrix
From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2009-03-11 04:45:35


Rutger ter Borg wrote:
> Karl Meerbergen wrote:
>
>
>> In fact, what I wanted to say is that it might perhaps be better to stay
>> in line with http://www.cs.kuleuven.be/~karlm/glas/tw506-revision.pdf
>> and have some meta function of the style
>>
>> is< BindableVector, V >
>> is< BindableMatrix, V >
>> is< BindableSparseMatrix, V >
>>
>> or alternatively
>>
>> BindableVector<V>
>> BindableMatrix<V>
>>
>> Karl
>>
>>
>
> Thanks for the reference. For naming of these traits, I was actually looking
> at Boost.Type_traits, which would yield expressions like
>
> is_bindable_vector<T>
> is_bindable_matrix<T>
>
> is this more in line with what you mean?
>
> Thanks,
>
> Rutger
>

Yes, that would do I believe.

Karl

>
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
>