草庐IT

c++ - 准备要发布的公共(public) header

我很想听听你们有哪些清理公共(public)头文件的例程分发给客户。我想听听您的意见是:评论不适合外部使用。一般来说,我喜欢保持文档关闭像这样分享代码和评论可能不是一个好主意:/***@todoShouldwechangethesignatureofthisfunctionto*makeitobviousthatxxxisreallyyyy?*/或者也许:/***@todoAddsupportforfeatureX*/标签样式不一致:voidfunctionA(inta,intb,intc,intd);voidfunctionB(inta,intb,intc);是否有任何工具可以为发布