Zrythm v2.0.0-alpha.1+31.4967fd053471
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::utils::ObjectBuilder Concept Reference

Concept that checks if a type is a builder for objects. More...

#include <src/utils/traits.h>

Concept definition

template<typename T>
concept ObjectBuilder = requires (T t) {
{
t.template build<detail::build_test_type> ()
} -> std::same_as<std::unique_ptr<detail::build_test_type>>;
}
Concept that checks if a type is a builder for objects.
Definition traits.h:253

Detailed Description

Concept that checks if a type is a builder for objects.

Definition at line 253 of file traits.h.