Boost logo

Boost :

Subject: [boost] [LA] vector_traits for setters
From: Daniel Pfeifer (daniel_at_[hidden])
Date: 2010-05-10 15:58:15


Hi Emil and others,

Qt 4.6 brought support for some vector and matrix types.

While it is easy to define matrix_traits for QGenericMatrix and
QMatrix4x4, i am struggling with the vector_traits for QVector2D,
QVector3D and QVector4D.

The problem is that Qt's vector types have setters and no
non-const-ref getters.

Is there a plan for (Boost).LA to support types with setters?

cheers, Daniel

Documentation for Qt's vector and matrix types can be found here:
http://doc.qt.nokia.com/4.6/qmatrix4x4-members.html
http://doc.qt.nokia.com/4.6/qgenericmatrix-members.html
http://doc.qt.nokia.com/4.6/qvector2d-members.html
http://doc.qt.nokia.com/4.6/qvector3d-members.html
http://doc.qt.nokia.com/4.6/qvector4d-members.html


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk