Guest User

Untitled

a guest
Dec 8th, 2019
91
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