mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
operator!= for nil_t
This commit is contained in:
parent
b655c07258
commit
4f197dbb91
|
@ -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
|
Loading…
Reference in New Issue
Block a user