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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.