Tech Tutorials Database
GeekArticles Programming C++
 

A C++ Macro to Stub Interface Methods

 
Author: developer.com
Category: C++
Comments (0)

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

Read More...




Sponsored Links




Read Next: Function Pointers, part 2



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe