「view this page in B3 βῆτα server」

Revisions №57423

branch: master 「№57423」
Commited by: Rocco Moretti
GitHub commit link: 「3b502892cf433423」 「№171」
Difference from previous tested commit:  code diff
Commit date: 2014-11-13 11:38:45

Merge pull request #171 from RosettaCommons/roccomoretti/runtime_assert Fixes for runtime_assert w/r/t pointers Our runtime_assert macro was having problems with asserting on OPs with C++11. This looks to be due to an implicit conversion of the OP to a bool. While explicit conversions to bools work, implicit conversions give an error under C++11 and certain compilers. The implicit conversion wasn't really needed. I re-wrote the macros to skip an unneeded intermediary function call, and also the implicit conversion. Coincidentally, this also avoids a double evaluation of the parameter to the macro, which means that Rosetta should crash just a little bit faster.

...