MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / operator |

Function operator |

unittests/catch.hpp:8493–8495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8491 }
8492
8493 ResultDisposition::Flags operator | ( ResultDisposition::Flags lhs, ResultDisposition::Flags rhs ) {
8494 return static_cast<ResultDisposition::Flags>( static_cast<int>( lhs ) | static_cast<int>( rhs ) );
8495 }
8496
8497 bool shouldContinueOnFailure( int flags ) { return ( flags & ResultDisposition::ContinueOnFailure ) != 0; }
8498 bool shouldSuppressFailure( int flags ) { return ( flags & ResultDisposition::SuppressFail ) != 0; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected