Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::relation

      From cppreference.com
      <cpp‎ |concepts
       
       
      Concepts library
       
      Defined in header<concepts>
      template<class R,class T,class U>

      concept relation=
         std::predicate<R, T, T>&&std::predicate<R, U, U>&&

         std::predicate<R, T, U>&&std::predicate<R, U, T>;
      (1)(since C++20)

      The conceptrelation<R, T, U> specifies thatR defines a binary relation over the set of expressions whose type and value category are those encoded by eitherT orU.

      [edit]References

      • C++23 standard (ISO/IEC 14882:2024):
      • 18.7.5 Conceptrelation [concept.relation]
      • C++20 standard (ISO/IEC 14882:2020):
      • 18.7.5 Conceptrelation [concept.relation]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/concepts/relation&oldid=177900"

      [8]ページ先頭

      ©2009-2025 Movatter.jp