Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      operator==,<=>(std::flat_multimap)

      From cppreference.com
      <cpp‎ |container‎ |flat multimap

      [edit template]
       
       
       
      std::flat_multimap
      Member types
      Member functions
      Non-member functions
      Helper classes
      Tags
      Deduction guides
       
      friendbool operator==(conststd::flat_multimap& lhs,
                             conststd::flat_multimap& rhs);
      (1)(since C++23)
      friend synth-three-way-result<value_type>

          operator<=>(conststd::flat_multimap& lhs,

                       conststd::flat_multimap& rhs);
      (2)(since C++23)
      Compares the contents of the underlying containers of two container adaptors. The comparison is done by applying the corresponding operator to the underlying containers.
      This section is incomplete
      Reason: For "flat" containers only: copy parts ofTemplate:cpp/container/operator_cmp

      Contents

      [edit]Parameters

      lhs, rhs - container adaptors whose contents to compare
      This section is incomplete
      Reason: Add named requirements to "flat" container inner types

      [edit]Return value

      1)true if the corresponding comparison yieldstrue,false otherwise.
      2) Result of three-way comparison on underlying containers.

      [edit]Complexity

      1) Constant iflhs andrhs are of different size, otherwise linear in the size of theflat_multimap.
      2) Linear in the size of the container.

      [edit]Example

      This section is incomplete
      Reason: no example
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/flat_multimap/operator_cmp&oldid=169572"

      [8]ページ先頭

      ©2009-2025 Movatter.jp