Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::AppendableWith Concept Reference

A container whose append() accepts an argument of type Item. More...

#include <ah-concepts.H>

Concept definition

template<typename C, typename Item>
concept Aleph::AppendableWith = requires(C & c, Item && item)
{
c.append(std::forward<Item>(item));
}
A container whose append() accepts an argument of type Item.

Detailed Description

A container whose append() accepts an argument of type Item.

c.append(std::forward<Item>(item)) must be valid: Item is the item type of C, or a type that append() converts to it. An rvalue argument is moved into the container.

Template Parameters
Ccandidate container type.
Itemtype of the argument passed to append().

Definition at line 398 of file ah-concepts.H.