Indi
贾跃华 jiayuehua.github.io

customization point object(cpo)和tag_invoke由eric niebler提出,在ranges和executor中有很多应用。 cpo可用于对库中的一些仿函数进行定制,而tag_invoke用于实现cpo,用于用户的类区分对于不同库的定制。 #include <gtest/gtest.h> #include <folly/Utility.h> #include …

讨论

还没有评论,来说第一句吧。

贾跃华 的其他文章