我有一个具有多个模板参数的概念 template<typename T, typename U> EqualityComparable 我是否可以在 template< EqualityComparableint main () {} godbolt上的clang实验概念编译器告诉我 template<EqualityComparable T /* and U */>
我对这些概念比较陌生,但到目前为止我很喜欢它们,并希望在项目中使用它们。问题是我也想让这个项目使用更早的C++标准编译。template<class number = double,class index = int,class coords>
#endif 其中NumT、索引和CoodinateContainer是已定义的概念有没有推荐的方法在不破坏向后编译兼容性的情况下将概念引入代码库?