Open5

C++ Concepts 関連メモ

yohhoyyohhoy

コンセプト設計ガイドライン

C++ Core Guidelines

  • T.25: Avoid complementary constraints
  • T.26: Prefer to define concepts in terms of use-patterns rather than simple syntax
  • T.30: Use concept negation (!C<T>) sparingly to express a minor difference
  • T.31: Use concept disjunction (C1<T> || C2<T>) sparingly to express alternatives