In gcc c++20, for the derived_from concept, 1) why it also requires convertible from Derived to Base? 2) why adds cv qualifiers?

前端 未结 0 1220
被撕碎了的回忆
被撕碎了的回忆 2021-01-27 15:09

In the GCC C++20 concepts lib, it has

template
    concept derived_from = __is_base_of(_Base, _Derived)
    && is         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题