(几乎)构建中的空源文件
我有一个proxy.h
包含一个抽象类,该类带有proxy.cpp
。例如,通过实现类也包括该标头。但是,proxy.cpp
仅包含以下内容:
#include "proxy.h"
namespace myNamespace {} // where the implementation of class proxy is inside this namespace, in the header
删除此文件不会破坏构建,因此我只能想象它提供了一些加速,缓存或类似的方法(使用bazel
) ?谁能猜测/解释此源文件的目的?
I have a proxy.h
containing an abstract class, which has a proxy.cpp
alongside it. This header is also included elsewhere for example by implementing classes. However, proxy.cpp
merely contains the following:
#include "proxy.h"
namespace myNamespace {} // where the implementation of class proxy is inside this namespace, in the header
Removing this file does not break the build, so I can only imagine it provides some speedup, caching or similar (using bazel
)? Can anyone guess/explain the purpose of this source file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论