Boost logo

Ublas :

Subject: Re: [ublas] Bindings traits: tag::matrix_type is not defined for ublas::matrix
From: Manuel Gonzalez (iinmgc00_at_[hidden])
Date: 2012-06-29 08:07:57


Thank you very much!

I've started to use detail because I could not find metafunctions to get some of
the tags (w.g. matrix_type).

Currently I am using something like this:

template< typename Tobject, typename Ttag >
struct get_tag {
    typedef typename boost::numeric::bindings::detail::property_at< Tobject,
Ttag >::type type;
};

Best regards,
Manuel

> -----Mensaje original-----
> De: ublas-bounces_at_[hidden] [mailto:ublas-bounces_at_[hidden]] En
> nombre de Rutger ter Borg
> Enviado el: martes, 26 de junio de 2012 12:47
> Para: ublas_at_[hidden]
> Asunto: Re: [ublas] Bindings traits: tag::matrix_type is not defined for
> ublas::matrix
>
>
>
> On 2012-06-26 11:47, Manuel Gonzalez wrote:
> > Hello,
> >
> > I am using the traits system in the current version of the numeric
> > bindings, in particular the tag
> > "boost::numeric::bindings::tag::matrix_type" which can take the following
> values:
> >
>
> You're right; I've added the line and committed the results to the svn
> repository. Using headers from detail should be avoided, please let us know
> if you think you need more metafunctions.
>
> Regards,
>
> Rutger
>
>
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: iinmgc00_at_[hidden]
> Se certificó que el correo entrante no contiene virus.
> Comprobada por AVG - www.avg.es
> Versión: 9.0.930 / Base de datos de virus: 2433.1.1/5092 - Fecha de la
> versión: 06/26/12 08:34:00