|
From: Allen B. <al...@us...> - 2004-09-01 21:54:43
|
allenb 2004/09/01 14:54:36 PDT
Modified files: (Branch: create_vec_exp_templates_branch)
modules/GMTL/Test/TestSuite/TestCases VecTest.cpp
modules/GMTL/gmtl VecB.h
Log:
Refactoring: Use type traits to store vector expressions with proper type of reference.
This allows scalars to be stored by value and vector expresions by const reference.
This is needed because the scalar values can go out of scope and lead to crashes.
Revision Changes Path
1.13.2.3 +6 -2 GGT/modules/GMTL/Test/TestSuite/TestCases/VecTest.cpp
1.1.2.3 +30 -54 GGT/modules/GMTL/gmtl/VecB.h
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/Test/TestSuite/TestCases/VecTest.cpp.diff?r1=1.13.2.2&r2=1.13.2.3&diff_format=l
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/gmtl/VecB.h.diff?r1=1.1.2.2&r2=1.1.2.3&diff_format=l
|