For that, I like the approach in this answer: https://softwareengineering.stackexchange.com/a/338472/303655
indeed it is a good approach, is there a reason why something similar to this is not part of Boost ? Did you (or would you) consider to provide other 'concepts', like
triboolsets (trits) (indeterminate values) or floating point values
Triboolsets could be a possibility (even if not sure of the purpose), but
providing other concepts as floating point or int is too specific to an
application and I think it should have its own type.
2018-06-26 7:21 GMT+02:00 degski via Boost
Did you (or would you) consider to provide other 'concepts', like triboolsets (trits) (indeterminate values) or floating point values, the latter for example expressing closeness or energy levels?
degski -- *"If something cannot go on forever, it will stop" - Herbert Stein*
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/ mailman/listinfo.cgi/boost