Chapter 12

Extensibility

Publisher Summary

This chapter discusses API extensibility, which means the ability of clients to modify the behavior of interface without requiring to evolve the API for their specific needs. This can be a critical factor in the ability to maintain a clean and focused interface while also delivering a flexible system that lets users to solve problems that were never anticipated. It describes various techniques that allow to achieve the same level of flexibility in own APIs and also details how to create industrial-strength, cross-platform plugin architectures for C and C++ APIs. A plugin is a dynamic library that is discovered and loaded at run time as opposed to a dynamic library that an application is linked against ...

Get API Design for C++ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.