Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::front_insert_iterator<Container>::front_insert_iterator

      From cppreference.com
      <cpp‎ |iterator‎ |front insert iterator

      [edit template]
       
       
      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)
       
       
      explicit front_insert_iterator( Container& c);
      (until C++20)
      constexprexplicit front_insert_iterator( Container& c);
      (since C++20)

      Initializes the underlying pointer to the container tostd::addressof(c).

      [edit]Parameters

      c - container to initialize the inserter with

      [edit]Defect reports

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

      DRApplied toBehavior as publishedCorrect behavior
      P2325R3C++20default constructor was provided as C++20
      iterators must bedefault_initializable
      removed along with the requirement
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/iterator/front_insert_iterator/front_insert_iterator&oldid=107594"

      [8]ページ先頭

      ©2009-2025 Movatter.jp