13 #ifndef CXXUTILS_ISUPDATER_H
14 #define CXXUTILS_ISUPDATER_H
53 template <
template <
class>
class UPDATER>
54 concept IsUpdater = requires(UPDATER<int>
x,
55 const typename UPDATER<int>::Context_t& ctx)
57 typename UPDATER<int>::Context_t;
58 {
x.get() } -> std::same_as<const int&>;
59 {
x.update (std::make_unique<int>(0), ctx) };
60 {
x.quiescent (ctx) };
61 {
x.defaultContext() } -> std::convertible_to<typename UPDATER<int>::Context_t>;
72 #endif // not CXXUTILS_ISUPDATER_H