diff --git a/include/loki/Checker.h b/include/loki/Checker.h index 93fd63e..1d9c5b0 100644 --- a/include/loki/Checker.h +++ b/include/loki/Checker.h @@ -601,6 +601,8 @@ struct CheckFor typedef ContractChecker< Host, CheckForNoThrow, Memento > NoThrow; typedef ContractChecker< Host, CheckForNoChange, Memento > NoChange; typedef ContractChecker< Host, CheckForNothing, Memento > Invariants; + + typedef bool ( Host:: * Validator )( void ) const; }; // ---------------------------------------------------------------------------- @@ -775,6 +777,7 @@ struct CheckStaticFor typedef StaticChecker< CheckStaticForNoThrow > NoThrow; typedef StaticChecker< CheckStaticForNothing > Invariants; + typedef bool ( * Validator )( void ); }; // ----------------------------------------------------------------------------