72 enum class Mode:
unsigned short {
Config module of the StormByte suite.
Definition alias.hxx:50
OnExistingAction
Forward declaration of the configuration document.
Definition typedefs.hxx:56
@ Keep
Retain the existing item.
@ Overwrite
Replace the existing item with the new one.
@ ThrowException
Throw an exception to indicate the conflict.
StormByte::Expected< Config, StormByte::Exception > ExpectedConfig
Result of loading a configuration document (text or binary).
Definition typedefs.hxx:83
Mode
Serialization / deserialization mode for configuration documents.
Definition typedefs.hxx:72
@ Text
Human-readable configuration syntax (UTF-8 text).
std::conditional_t< Type::Reference< T >, std::expected< std::reference_wrapper< std::remove_reference_t< T > >, Shared< E > >, std::expected< T, Shared< E > > > Expected