small cleanup + comment

This commit is contained in:
AJ Kelly
2011-05-11 02:24:04 -05:00
parent 292c8ece49
commit d2b7c26209
+1
View File
@@ -163,6 +163,7 @@ public:
bool IsLoaded() const { return m_Value.IsSet(); } bool IsLoaded() const { return m_Value.IsSet(); }
// Hacks for VC6 for all boolean operators. // Hacks for VC6 for all boolean operators.
// todo: get rid of these -aj
bool operator ! () const { return !GetValue(); } bool operator ! () const { return !GetValue(); }
bool operator && ( const T& input ) const { return GetValue() && input; } bool operator && ( const T& input ) const { return GetValue() && input; }
bool operator || ( const T& input ) const { return GetValue() || input; } bool operator || ( const T& input ) const { return GetValue() || input; }