X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FSafeBool.cti;h=a1d4bc094d1ae67924e61a8f7ff904dfd81b92e7;hb=83df9651fac5af034774ff9314ee18eeb8a5ec2a;hp=5c3cf5157bd678ea54297ef308c9196c087682f9;hpb=31d85cd6b8e03c5ecc924ca8892906be1bab702f;p=senf.git diff --git a/Utils/SafeBool.cti b/Utils/SafeBool.cti index 5c3cf51..a1d4bc0 100644 --- a/Utils/SafeBool.cti +++ b/Utils/SafeBool.cti @@ -12,7 +12,7 @@ ///////////////////////////////cti.p/////////////////////////////////////// template -prefix_ senf::SafeBool::operator bool_type() +prefix_ senf::ComparableSafeBool::operator bool_type() const { return (static_cast(this))->boolean_test() @@ -20,14 +20,14 @@ prefix_ senf::SafeBool::operator bool_type() } template -prefix_ bool senf::SafeBool::operator!() +prefix_ bool senf::ComparableSafeBool::operator!() const { return ! (static_cast(this))->boolean_test(); } template -prefix_ senf::SafeBool::~SafeBool() +prefix_ senf::ComparableSafeBool::~ComparableSafeBool() {} template @@ -53,4 +53,5 @@ prefix_ void senf::operator!=(const SafeBool& lhs, const SafeBool& rhs) // indent-tabs-mode: nil // ispell-local-dictionary: "american" // compile-command: "scons -u test" +// comment-column: 40 // End: