Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```cpp
- inline int64 CmaskAll() { return -1; }
- inline int64 CmaskOne(int ClientID) { return 1<<ClientID; }
- inline int64 CmaskAllExceptOne(int ClientID) { return CmaskAll()^CmaskOne(ClientID); }
- inline bool CmaskIsSet(int64 Mask, int ClientID) { return (Mask&CmaskOne(ClientID)) != 0; }
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement