A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4659/container.node.observers below:

[container.node.observers]

26 Containers library [containers] 26.2 Container requirements [container.requirements] 26.2.4 Node handles [container.node] 26.2.4.4 node_­handle observers [container.node.observers]

value_type& value() const;

Requires: empty() == false.

Returns: A reference to the value_­type subobject in the container_­node_­type object pointed to by ptr_­.

key_type& key() const;

Requires: empty() == false.

Returns: A non-const reference to the key_­type member of the value_­type subobject in the container_­node_­type object pointed to by ptr_­.

Remarks: Modifying the key through the returned reference is permitted.

mapped_type& mapped() const;

Requires: empty() == false.

Returns: A reference to the mapped_­type member of the value_­type subobject in the container_­node_­type object pointed to by ptr_­.

allocator_type get_allocator() const;

Requires: empty() == false.

explicit operator bool() const noexcept;

Returns: ptr_­ != nullptr.

bool empty() const noexcept;

Returns: ptr_­ == nullptr.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4