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

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

#include <ah-concepts.H>

Concept definition

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

Detailed Description

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

The counterpart of AppendableWith for insert().

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

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