by pyjarrett · 4y ago · 0 comments
template <typename T>
class Foo {};
class Bar : public Foo<Bar> { ... };
https://en.cppreference.com/w/cpp/language/crtpNow, if it had been declared int, I would probably have been on the lookout for it using something other than 1 or 0 as an error condition, but why bother to explicitly invent a BOOL type and then abuse it that way?