galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages Concepts
galaxy::meta::is_loader Concept Reference

Ensures that the provided loader has an operator() that returns a shared pointer. More...

#include <Concepts.hpp>

Concept definition

template<typename Loader, typename Resource>
concept galaxy::meta::is_loader = requires(Loader loader) { loader.operator() && std::is_class<Loader>::value; }
Ensures that the provided loader has an operator() that returns a shared pointer.
Definition Concepts.hpp:96

Detailed Description

Ensures that the provided loader has an operator() that returns a shared pointer.

Template Parameters
LoaderThe loader you want to test.
ResourceThe resource being loaded.

Definition at line 96 of file Concepts.hpp.