Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
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:241

Detailed Description

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

Definition at line 241 of file traits.h.