Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::map<Key,T,Compare,Allocator>::get_allocator

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

      [edit template]
       
       
       
      std::map
      Member functions
                   
      map::get_allocator
      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++26)

      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/map/get_allocator&oldid=135922"

      [8]ページ先頭

      ©2009-2025 Movatter.jp