14namespace osc {
class ResourcePath; }
22 template<std::derived_from<VirtualFilesystem> T,
typename... Args>
23 requires std::constructible_from<
T,
Args&&...>
26 layers_.push_back(std::make_unique<T>(std::forward<Args>(
args)...));
27 return *layers_.back();
36 std::vector<std::unique_ptr<VirtualFilesystem>> layers_;
Definition overlay_filesystem.h:20
cpp23::generator< ResourceDirectoryEntry > impl_iterate_directory(ResourcePath) final
ResourceStream impl_open(const ResourcePath &) final
VirtualFilesystem & emplace_lowest_priority(Args &&... args)
Definition overlay_filesystem.h:24
bool impl_resource_exists(const ResourcePath &) final
std::optional< std::filesystem::path > resource_filepath(const ResourcePath &) const
Definition resource_path.h:12
Definition resource_stream.h:11
Definition virtual_filesystem.h:20
Definition generator.h:32
Definition custom_decoration_generator.h:5
constexpr U to(T &&value)
Definition conversion.h:56