Re: Expression template in D struct

2009-05-07 Thread Simen Kjaeraas
On Thu, 07 May 2009 03:31:46 +0200, The Anh Tran wrote: Trass3r wrote: The Anh Tran schrieb: One of my C++ struct is Vector3. It is a wrapper from D3DXVECTOR3. I would like to use expression template to calculate where to point the gun. In C++, it is provided by boost::proto or boost::ublas

Re: Expression template in D struct

2009-05-06 Thread The Anh Tran
Trass3r wrote: The Anh Tran schrieb: One of my C++ struct is Vector3. It is a wrapper from D3DXVECTOR3. I would like to use expression template to calculate where to point the gun. In C++, it is provided by boost::proto or boost::ublas. You calculate where to point the gun at compile-time?

Re: Expression template in D struct

2009-05-06 Thread Trass3r
The Anh Tran schrieb: One of my C++ struct is Vector3. It is a wrapper from D3DXVECTOR3. I would like to use expression template to calculate where to point the gun. In C++, it is provided by boost::proto or boost::ublas. You calculate where to point the gun at compile-time?