mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-30 22:45:43 +00:00
ff500a7b68
This introduces a slightly more generic variant of WriteBuffer(). Notably, this variant doesn't constrain the arguments to only accepting std::vector instances. It accepts whatever adheres to the ContiguousContainer concept in the C++ standard library. This essentially means, std::array, std::string, and std::vector can be used directly with this interface. The interface no longer forces you to solely use containers that dynamically allocate. To ensure our overloads play nice with one another, we only enable the container-based WriteBuffer if the argument is not a pointer, otherwise we fall back to the pointer-based one. |
||
---|---|---|
.. | ||
kernel | ||
service | ||
config_mem.cpp | ||
config_mem.h | ||
ipc.h | ||
ipc_helpers.h | ||
lock.cpp | ||
lock.h | ||
result.h | ||
romfs.cpp | ||
romfs.h | ||
shared_page.cpp | ||
shared_page.h |