Iros
 
Loading...
Searching...
No Matches
reconstructible_container.h
Go to the documentation of this file.
1#pragma once
2
6#include "di/types/prelude.h"
7#include "di/util/forward.h"
8
9namespace di::concepts {
10template<typename Con, typename It = meta::ContainerIterator<Con>, typename Sent = meta::ContainerSentinel<Con>>
11concept ReconstructibleContainer = requires(It iterator, Sent sentinel) {
12 container::reconstruct(in_place_type<Con>, util::forward<It>(iterator), util::forward<Sent>(sentinel));
13};
14}
Definition reconstructible_container.h:11
Definition any_storable.h:9
constexpr auto reconstruct
Definition reconstruct.h:75
constexpr auto in_place_type
Definition in_place_type.h:12