Iros
 
Loading...
Searching...
No Matches
stoppable_token.h
Go to the documentation of this file.
1#pragma once
2
3#include "di/meta/compare.h"
5
6namespace di::concepts {
7namespace detail {
8 template<template<typename> typename>
10}
11
12template<typename T>
13concept StoppableToken = CopyConstructible<T> && MoveConstructible<T> && requires(T const& token) {
14 { token.stop_requested() } -> BooleanTestable;
15 { token.stop_possible() } -> BooleanTestable;
17};
18}
Definition operations.h:128
Definition operations.h:34
Definition operations.h:43
Definition stoppable_token.h:13
Definition impl.h:7
Definition any_storable.h:9
Definition stoppable_token.h:9