Subject: [ublas] [bindings][traits] Type decoration
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2009-03-18 10:31:22
I'm looking into realizing a trans(matrix_type) type decorator, but
apparently this requires a bit more work before it will play nice with
everything. The thing is that many algorithms including the type traits
system have their arguments passed by reference.
some_func( a ); // OK, instance of A exists (LValue)
some_func( trans(a) ); // not OK, no instance of trans(A) is available
the type traits also use references to most underlying objects. Do you know
of a clean way on how to bypass this?