1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-22 00:29:41 +00:00

Neatened layout.

This commit is contained in:
Thomas Harte 2017-07-24 22:52:35 -04:00
parent c1527cc9e2
commit 9be9bd9106

View File

@ -65,6 +65,7 @@ template <class T> class WrappedInt {
inline bool operator !=(const T &rhs) const { return length_ != rhs.length_; }
inline bool operator !() const { return !length_; }
inline operator bool() const { return !!length_; }
inline int as_int() const { return length_; }