Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2015/08/29/effective-cpp-31 #167

Open
utterances-bot opened this issue Nov 20, 2022 · 1 comment
Open

2015/08/29/effective-cpp-31 #167

utterances-bot opened this issue Nov 20, 2022 · 1 comment

Comments

@utterances-bot
Copy link

Effective C++ 31:最小化文件之间的编译依赖 | Harttle Land

最小化编译依赖的一般做法是依赖于声明而非定义,这个想法可以通过句柄类或接口类来实现。库的声明应当包括“完整的”和“只有声明的”两种形式。

https://harttle.land/2015/08/29/effective-cpp-31.html

Copy link

你好,有个问题请教一下:接口类这种方法Person解除了和Date的编译依赖关系,但是RealPerson仍然需要和Date的编译依赖啊?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants