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:
parent
ec9279e887
commit
32ab689b28
1 changed files with 3 additions and 0 deletions
|
@ -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 );
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue