Added non-const pointer accessor.

This commit is contained in:
Marco Di Benedetto 2009-03-19 11:12:23 +00:00
parent c5ad3694bd
commit 0e2bc54b52
1 changed files with 5 additions and 1 deletions

View File

@ -93,6 +93,10 @@ public:
{ {
return _v; return _v;
} }
inline ScalarType * V()
{
return _v;
}
inline ScalarType & V( const int i ) inline ScalarType & V( const int i )
{ {
assert(i>=0 && i<2); assert(i>=0 && i<2);