![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
文章平均质量分 68
hengxe
这个作者很懒,什么都没留下…
展开
-
2021-04-04
【转】Compile-time version strings in CMake At compile-time, I would like to embed a few strings into my code that reflects the current state of the Git repository: The short commit hash, with a trailing + if there are uncommitted changes. The tag (if any) T转载 2021-04-04 19:12:25 · 93 阅读 · 0 评论 -
C++11 examples
enable_if #include <iostream> template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type test1(T t) { std::cout << "integral: " << t &...原创 2019-12-15 16:16:54 · 137 阅读 · 0 评论