Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
Loading...
Searching...
No Matches
common_result.h File Reference

Common Result<T> pattern for integrated database system. More...

#include <kcenon/database/config/feature_flags.h>
#include <variant>
#include <string>
#include <utility>
Include dependency graph for common_result.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  common::error_info
 
class  common::Result< T >
 

Namespaces

namespace  common
 

Typedefs

using common::Error = error_info
 
using common::VoidResult = Result<std::monostate>
 

Functions

VoidResult common::ok ()
 
VoidResult common::error (const std::string &msg, int code=-1)
 

Detailed Description

Common Result<T> pattern for integrated database system.

This file provides compatibility with existing code that expects common:: namespace.

Definition in file common_result.h.