|
@ -52,14 +52,14 @@ public: |
|
|
|
|
|
|
|
|
public: |
|
|
public: |
|
|
ToFromWrapper<T>& |
|
|
ToFromWrapper<T>& |
|
|
operator=(const T data_) |
|
|
|
|
|
|
|
|
operator=(const T &data_) |
|
|
{ |
|
|
{ |
|
|
_data = data_; |
|
|
_data = data_; |
|
|
return *this; |
|
|
return *this; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public: |
|
|
public: |
|
|
operator T() const |
|
|
|
|
|
|
|
|
operator const T&() const |
|
|
{ |
|
|
{ |
|
|
return _data; |
|
|
return _data; |
|
|
} |
|
|
} |
|
@ -72,7 +72,7 @@ public: |
|
|
|
|
|
|
|
|
public: |
|
|
public: |
|
|
bool |
|
|
bool |
|
|
operator==(const T data_) const |
|
|
|
|
|
|
|
|
operator==(const T &data_) const |
|
|
{ |
|
|
{ |
|
|
return (_data == data_); |
|
|
return (_data == data_); |
|
|
} |
|
|
} |
|
@ -121,7 +121,7 @@ public: |
|
|
|
|
|
|
|
|
public: |
|
|
public: |
|
|
bool |
|
|
bool |
|
|
operator==(const T data_) const |
|
|
|
|
|
|
|
|
operator==(const T &data_) const |
|
|
{ |
|
|
{ |
|
|
return (_data == data_); |
|
|
return (_data == data_); |
|
|
} |
|
|
} |
|
|