34 template<
typename T>
class UValue
40 inline explicit UValue(
const T & a):p(new T(a)){ts.update();}
42 inline const T &
operator=(
const T& a){ts.update();
return (*p = a);}
43 inline const T &
v()
const {
return *
p;};
44 inline T &
v() {
return *
p;};
Advanced Simulation Library.
bool operator==(const std::vector< T > &vector1, const std::vector< T > &vector2)
Compares two vectors.
Updatable value. This class stores value and its TimeStamp.
const T & operator=(const T &a)
updates UValue::ts automaticaly
const bool operator!=(const AVec< T > &a, const AVec< T > &b)