Modern C++26
DoneClean codebase using RAII and modern patterns
Category: Architecture
Version: v1.0.0
Status: Done
Modern C++26
Heavy use of RAII, std::expected, std::optional, and smart pointers. Memory-safe by design where possible. No raw pointers, no manual memory management.
Why C++26?
C++26 brings features that make code safer and more expressive:
- std::expected - Proper error handling without exceptions
- std::optional - Explicit nullable types
- Pattern matching - Cleaner control flow
- Contracts - Runtime verification
Benefits for Contributors
- Easier to read - Modern patterns are self-documenting
- Safer to modify - RAII prevents leaks
- Better tooling - Static analysis works well
- Clearer intent - Types express ownership
Related Features
- Vulkan 1.3+ - Modern graphics API
- No D-Bus/SystemD - Minimal dependencies