Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 832 Bytes

File metadata and controls

39 lines (26 loc) · 832 Bytes

get_allocator

  • memory[meta header]
  • std[meta namespace]
  • polymorphic[meta class]
  • function[meta id-type]
  • cpp26[meta cpp]
constexpr allocator_type get_allocator() const noexcept;

概要

このオブジェクトが使用するアロケータを取得する。

戻り値

所有するアロケータのコピー。

例外

投げない。

バージョン

言語

  • C++26

処理系

  • Clang: 22 [mark noimpl]
  • GCC: 16.1 [mark verified]
  • Visual C++: 2026 Update 2 [mark noimpl]

関連項目

参照