¡@

Home 

c++ Programming Glossary: mystructure

What does a const pointer-to-pointer mean in C and in C++?

http://stackoverflow.com/questions/336585/what-does-a-const-pointer-to-pointer-mean-in-c-and-in-c

what was going on until a colleague told me that const MyStructure ppMyStruct means ppMyStruct is a pointer to a const pointer.. ppMyStruct is a pointer to a const pointer to a mutable MyStructure in C . I would have thought it meant ppMyStruct is a pointer.. it meant ppMyStruct is a pointer to a pointer to a const MyStructure . I looked for an answer in the C spec but apparently I'm not..

MSVC++ variadic macro expansion

http://stackoverflow.com/questions/9183993/msvc-variadic-macro-expansion

d ACTUAL_MACRO e Here is how I might use this macro struct MyStructure void Foo EXPAND_THESE Property1 Property2 Property3 Property4.. Base parent Here's how GCC expands the above struct MyStructure void Foo parent GetProperty Property1 parent GetProperty Property2.. reason expands all my __VA_ARGS__ as one argument struct MyStructure void Foo parent GetProperty Property1 Property2 Property3 Property4..