From: <ric...@us...> - 2011-11-07 23:35:34
|
Revision: 1174 http://loki-lib.svn.sourceforge.net/loki-lib/?rev=1174&view=rev Author: rich_sposato Date: 2011-11-07 23:35:28 +0000 (Mon, 07 Nov 2011) Log Message: ----------- Added typedef for Validator function types. Modified Paths: -------------- trunk/include/loki/Checker.h Modified: trunk/include/loki/Checker.h =================================================================== --- trunk/include/loki/Checker.h 2011-11-07 23:31:36 UTC (rev 1173) +++ trunk/include/loki/Checker.h 2011-11-07 23:35:28 UTC (rev 1174) @@ -601,6 +601,8 @@ 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 @@ typedef StaticChecker< CheckStaticForNoThrow > NoThrow; typedef StaticChecker< CheckStaticForNothing > Invariants; + typedef bool ( * Validator )( void ); }; // ---------------------------------------------------------------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |