moddef-cpp
Idiomatic C++ runtime for ModDef
Loading...
Searching...
No Matches
moddef.hpp File Reference

moddef-cpp — idiomatic C++ runtime for ModDef (spec v0.4). More...

#include "moddef/device.hpp"
#include "moddef/document.hpp"
#include "moddef/error.hpp"
#include "moddef/str.hpp"
#include "moddef/transport.hpp"
#include "moddef/value.hpp"

Go to the source code of this file.

Detailed Description

moddef-cpp — idiomatic C++ runtime for ModDef (spec v0.4).

A thin, header-only, exception-free wrapper over the moddef-c core: RAII moddef::Document / moddef::Device, a typed moddef::Value, a virtual moddef::Transport, and Result<T> = std::expected<T, Error>. The C core does the parsing and codec; C++ adds the ergonomics. Requires C++23 (std::expected). For older toolchains, use moddef-c directly.