Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::istreambuf_iterator<CharT,Traits>::equal

      From cppreference.com
      <cpp‎ |iterator‎ |istreambuf iterator
       
       
      Iterator library
      Iterator concepts
      Iterator primitives
      Algorithm concepts and utilities
      Indirect callable concepts
      Common algorithm requirements
      (C++20)
      (C++20)
      (C++20)
      Utilities
      (C++20)
      Iterator adaptors
      Range access
      (C++11)(C++14)
      (C++14)(C++14)  
      (C++11)(C++14)
      (C++14)(C++14)  
      (C++17)(C++20)
      (C++17)
      (C++17)
       
       
      bool equal(const istreambuf_iterator& it)const;

      Checks whether both*this andit are valid, or both are invalid, regardless of the stream buffer objects they use.

      Contents

      [edit]Parameters

      it - another stream buffer iterator to compare to

      [edit]Return value

      true if both*this andit are valid, or both are invalid,false otherwise.

      [edit]Exceptions

      May throw implementation-defined exceptions.

      [edit]Defect reports

      The following behavior-changing defect reports were applied retroactively to previously published C++ standards.

      DRApplied toBehavior as publishedCorrect behavior
      LWG 110C++98the signature wasbool equal(istreambuf_iterator& it)consts added
      LWG 1126C++98LWG issue 110 was not properly resolved, leaving
      the parameter type asistreambuf_iterator&
      const added
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/iterator/istreambuf_iterator/equal&oldid=155576"

      [8]ページ先頭

      ©2009-2026 Movatter.jp