]> git.tdb.fi Git - libs/core.git/commit
Improvements for empty variants
authorMikko Rasa <tdb@tdb.fi>
Sat, 9 Sep 2023 07:37:18 +0000 (10:37 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 9 Sep 2023 07:37:18 +0000 (10:37 +0300)
commit857cb78e1568ccd55562f9602c247882dfa7bb0b
tree61b1dcaa11a4d932b03a199b08900df84ab193b7
parentaa7a86068134a983da7adae5dc77422ce08a9254
Improvements for empty variants

There's now a function to check if an empty variant holds a value, and
two empty variants will compare as equal.
source/core/variant.h
tests/variant.cpp