惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
N
Netflix TechBlog - Medium
P
Proofpoint News Feed
D
Docker
J
Java Code Geeks
L
LangChain Blog
Microsoft Security Blog
Microsoft Security Blog
The GitHub Blog
The GitHub Blog
I
InfoQ
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
月光博客
月光博客
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
腾讯CDC
罗磊的独立博客
U
Unit 42
爱范儿
爱范儿
Vercel News
Vercel News
MyScale Blog
MyScale Blog

博客园 - 叶落无痕

A generic error occurred in gdi+ error的解决方法 Debian 安装完后控制台中文乱码解决 Parser Error Message: Could not load type '_Default'. ubuntu 7.10里装apxs2(Firebird相关) ncurses安装的问题 return code 与 exception的比较 (From C++ FAQ) 可以自定义URL的前缀类型:Asynchronous Pluggable Protocols [zz]Word 2007文档中图片不显示或对象不显示的解决方法 POI_Java里访问Excel,Word等格式的文件 winsock的accept变成不阻塞的可能原因之一 Cstring与BSTR cdecl, stdcall, pascal,fastcall 都有什么区别,具体是什么调用约定? HRESULT相关 directShow调用的COM前要CoInitialize 第一个directShow程序碰到的问题 用directShow要在VS.NET2003设置的目录 CFile的Read出错? 写程序碰到困难一定要调试 55种javascript技巧
What is a framework (From C++ FAQ)
叶落无痕 · 2007-07-17 · via 博客园 - 叶落无痕

A framework is a set of class hierarchies plus models of interaction and cooperation between the various objects of the various hierarchies. The framework defines a generic program structure that is suitable for building a group of related applications or systems. Usually the framework provides default behavior for common situations while allowing the default behavior to be easily overridden with application-specific behavior when necessary. That is, the framework is designed to be customized for solving a specific problem or building a specific business application.

In C++, the most important artifacts in the generic program structure are usually abstract base classes (ABCs) (see FAQs 2.24, 17.03). The framework also prescribes the valid interactions among the objects. In C++, the default behavior and the ability to customize the framework is usually accomplished using inheritance and dynamic binding