SafeBool to safe_bool (I tend to the latter ...)
*/
template <typename T>
- class SafeBool
+ class ComparableSafeBool
: public SafeBoolBase
{
public:
bool operator !() const;
protected:
- ~SafeBool();
+ ~ComparableSafeBool();
};
+ template <typename T>
+ class SafeBool : public ComparableSafeBool<T> {};
+
template <typename T, typename U>
void operator==(const SafeBool<T>& lhs,const SafeBool<U>& rhs);
// c-file-style: "senf"
// indent-tabs-mode: nil
// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
// End: