• Class / Function / Type

      std::
    • Header file

      <>
    • Other / All

    最終更新日時(UTC):
    が更新

    履歴 編集

    function
    <memory>

    std::allocator::operator=

    allocator& operator=(const allocator&);                     // (1) C++03 (暗黙定義)
    allocator& operator=(const allocator&) = default;           // (1) C++11
    constexpr allocator& operator=(const allocator&) = default; // (1) C++20
    

    概要

    代入する。

    戻り値

    代入後の*thisを返す。

    参照