operator!= for nil_t

This commit is contained in:
ThePhD 2013-12-14 20:16:28 -05:00
parent b655c07258
commit 4f197dbb91

View File

@ -115,6 +115,7 @@ inline type type_of<bool>() {
} }
inline bool operator==(nil_t, nil_t) { return true; } inline bool operator==(nil_t, nil_t) { return true; }
inline bool operator!=(nil_t, nil_t) { return false; }
} // sol } // sol
#endif // SOL_TYPES_HPP #endif // SOL_TYPES_HPP