X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FSafeBool.cti;h=a1d4bc094d1ae67924e61a8f7ff904dfd81b92e7;hb=f13c1275e48e97dceb7de7925793a4c69a5aeb61;hp=bdf32c27e577e9bf0848ea4b66ff2fc9646651bd;hpb=85ab07d100a382467a42e19d741d403a7a96c951;p=senf.git diff --git a/Utils/SafeBool.cti b/Utils/SafeBool.cti index bdf32c2..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 @@ -52,4 +52,6 @@ prefix_ void senf::operator!=(const SafeBool& lhs, const SafeBool& rhs) // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: