|
Ublas : |
Subject: Re: [ublas] [bindings][traits] Type decoration
From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2009-03-18 11:03:42
Rutger ter Borg wrote:
> Karl Meerbergen wrote:
>
>
>> In glas, I use a meta function to decide whether an argument is passed
>> by value or by reference. This implies two versions of some_func to be
>> written. The choice is decided by boost::enable_if.
>>
>> Best,
>>
>> Karl
>>
>
> Good idea. You also have presumably four variants of the function if there
> are two matrices that could be decorated? I.e., 2^N variants of the
> function with N decorators?
>
> Cheers,
>
> Rutger
>
Yes.
Karl
>
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
>