
c++
文章平均质量分 68
hengxe
这个作者很懒,什么都没留下…
展开
-
2021-04-04
【转】Compile-time version strings in CMakeAt 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 · 130 阅读 · 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 · 168 阅读 · 0 评论