|
evan 2026.1.4
Evan
|
Small result wrapper used by helpers that must return both a status and a value (e.g. createImageView). More...
#include <headers/evan/Error.hpp>
Public Attributes | |
| Error | code = Error::Ok |
| T | value {} |
Small result wrapper used by helpers that must return both a status and a value (e.g. createImageView).
| T | The value type (must be default-constructible, which Vulkan handles and std::vector/std::shared_ptr satisfy). |
| Error evan::Result< T >::code = Error::Ok |