Remove TODO comments about using explicit bool operators

This commit is contained in:
Jon Siwek 2018-01-19 11:39:34 -06:00
parent 41285abea5
commit f25a1453ee
5 changed files with 5 additions and 9 deletions

View file

@ -41,10 +41,6 @@ public:
/**
* Returns false if the tag represents an error value rather than a
* legal analyzer type.
* TODO: make this conversion operator "explicit" (C++11) or use a
* "safe bool" idiom (not necessary if "explicit" is available),
* otherwise this may allow nonsense/undesired comparison operations.
*
*/
explicit operator bool() const { return *this != Tag(); }