GeekArticles
Programming
C++
Programming
C++A C++ Macro to Stub Interface Methods
By Kate Gregory Go to page: 1 2 3 Next In my previous column , I showed how to create a class library in C++ that can be called from a macro, and presented a very simple function in the class library that adds braces for you, suitable for use after typing an if or for statement. In this column, I show you a somewhat meatier piece of code: a macro for use with a class that implements one or more interfaces. When you run the macro, it adds empty function bodies for all the functions in...n
Sponsored Links
Read Next: Function Pointers, part 2
Related Topics
Subscribe via RSS
C++
- Multithreading in C++
- A Simple Garbage Collector for C++
- C++ in theory: Bridging Your Classes with PIMPLs
- C++ In Theory: The Singleton Pattern, Part 2
- C++ In Theory: The Singleton Pattern, Part I
- Managed C++: Debugging with the StackTrace Class
- C++ Idioms in BREW: Better Interfaces
- More on Handling Basic Data Types
- Visual C++ 2005 IDE Enhancements
- Managed C++: Loading and Displaying Images
