SHARE
TWEET

Untitled

a guest Dec 8th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. enum class ExampleNameEnumClass : uint16_t {A = 01, B = 02};
  2.  
  3. bool ExampleNameClass::set(uint16_t a)
  4. {
  5.     m_variable |= a;
  6.     return true;
  7. };
  8.  
  9.  
  10. object.set(ExampleNameEnumClass::A | ExampleNameEnumClass::B)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top