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

The modifiable traversal of Container hands out T &. More...

#include <ah-dry.H>

Concept definition

template<class Container, class T>
requires(Container & c, Modifying_Probe<T> & op) { c.traverse(op); }
The modifiable traversal of Container hands out T &.
Definition ah-dry.H:143

Detailed Description

The modifiable traversal of Container hands out T &.

True when c.traverse(op) on a non-constant container accepts an operation that needs a modifiable reference. The answer is reliable for containers whose traverse() overloads are constrained by what they hand out; an unconstrained traverse() always answers yes.

Template Parameters
Containerthe CRTP-derived container.
Titem type.

Definition at line 143 of file ah-dry.H.