Tech Tutorials Database
GeekArticles Programming C++
 

C++ Idioms in BREW: Better Interfaces

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

By Radu Braniste Go to page: 1 2 Next Why Static Interfaces in C++ Usually, an interface describes in an abstract way a contract having to be fulfilled by classes implementing that interface. Unfortunately, C++ does more than this when expressing the idea of an interface through Abstract Base Classes (ABC)-all the functions have to be additionally declared pure virtual. This condition is orthogonal to the concept of an interface and at many times superfluous. There are already languages...n

Read More...




Sponsored Links




Read Next: More on Handling Basic Data Types



 

 

Comments



Post Your Comment:

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