aboutsummaryrefslogtreecommitdiff
path: root/build/variable
diff options
context:
space:
mode:
Diffstat (limited to 'build/variable')
-rw-r--r--build/variable2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/variable b/build/variable
index 5d0b175..51d748d 100644
--- a/build/variable
+++ b/build/variable
@@ -119,6 +119,8 @@ namespace build
bool empty () const {return state_ == state_type::empty;}
explicit operator bool () const {return !null ();}
+ bool operator== (std::nullptr_t) const {return null ();}
+ bool operator!= (std::nullptr_t) const {return !null ();}
// Raw data read interface.
//