Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::ostreambuf_iterator<CharT,Traits>::failed

      From cppreference.com
      <cpp‎ |iterator‎ |ostreambuf 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 failed()constthrow();
      (until C++11)
      bool failed()constnoexcept;
      (since C++11)

      Returnstrue if the iterator encountered the end-of-file condition, that is, if an earlier call tostd::basic_streambuf::sputc (made byoperator=) returnedTraits::eof.

      [edit]Parameters

      (none)

      [edit]Return value

      true if this iterator has encountered the end-of-file condition on output,false otherwise.

      [edit]Example

      This section is incomplete
      Reason: no example
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/iterator/ostreambuf_iterator/failed&oldid=108412"

      [8]ページ先頭

      ©2009-2025 Movatter.jp