¡@

Home 

c++ Programming Glossary: passkey

Can we increase the re-usability of this key-oriented access-protection pattern?

http://stackoverflow.com/questions/3324898/can-we-increase-the-re-usability-of-this-key-oriented-access-protection-pattern

cannot be friends we have to use a macro to define passkey's define passkey groups #define EXPAND pX pX #define PASSKEY_1.. friends we have to use a macro to define passkey's define passkey groups #define EXPAND pX pX #define PASSKEY_1 pKeyname pFriend1.. restricted3 restricted3_key f struct bar void run void passkey works f.restricted1 foo restricted1_key f.restricted2 foo restricted2_key..