Use <= operator instead of ->* for decomposer

Allows more complex LHS expressions - and works around an Eclipse bug.
See Issues #359, #393 and #247 for details
This commit is contained in:
Phil Nash 2015-06-26 06:35:33 +01:00
parent c51e86819d
commit 8cc1108f2b
3 changed files with 7 additions and 5 deletions

View file

@ -33,7 +33,7 @@
do { \
Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, #expr, resultDisposition ); \
try { \
( __catchResult->*expr ).endExpression(); \
( __catchResult <= expr ).endExpression(); \
} \
catch( ... ) { \
__catchResult.useActiveException( Catch::ResultDisposition::Normal ); \