1#ifndef ENTT_RESOURCE_LOADER_HPP
2#define ENTT_RESOURCE_LOADER_HPP
4#include "../stl/memory.hpp"
5#include "../stl/utility.hpp"
14template<
typename Type>
25 template<
typename... Args>
27 return stl::make_shared<Type>(stl::forward<Args>(args)...);
Transparent loader for shared resources.
stl::shared_ptr< Type > result_type
Result type.
result_type operator()(Args &&...args) const
Constructs a shared pointer to a resource from its arguments.