Added typedef for Validator function types.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1174 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
rich_sposato 2011-11-07 23:35:28 +00:00
parent ec9279e887
commit 32ab689b28

View file

@ -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 );
};
// ----------------------------------------------------------------------------