Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::vector<T,Allocator>::get_allocator

      From cppreference.com
      <cpp‎ |container‎ |vector

      [edit template]
       
       
       
      std::vector
      Member types
      Member functions
      Non-member functions
      (until C++20)(until C++20)(until C++20)(until C++20)(until C++20)
      Deduction guides(C++17)
       
      allocator_type get_allocator()const;
      (noexcept since C++11)
      (constexpr since C++20)

      Returns the allocator associated with the container.

      [edit]Return value

      The associated allocator.

      [edit]Complexity

      Constant.

      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/vector/get_allocator&oldid=162063"

      [8]ページ先頭

      ©2009-2025 Movatter.jp