cppfig 0.1.0
Modern C++20 compile-time type-safe configuration library
Loading...
Searching...
No Matches
schema.h File Reference
#include <array>
#include <string_view>
#include <type_traits>
#include "cppfig/setting.h"
Include dependency graph for schema.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cppfig::detail::IsOneOf< T, Types >
 Helper to check if a type is in a parameter pack. More...
 
class  cppfig::ConfigSchema< Settings >
 Configuration schema holding all setting types. More...
 

Namespaces

namespace  cppfig
 C++20 compile-time type-safe configuration library.
 
namespace  cppfig::detail
 

Typedefs

template<IsSetting S>
using cppfig::setting_value_type = typename S::value_type
 Helper alias to get the value type for a setting.
 

Functions

template<typename... Settings>
consteval auto cppfig::detail::AllPathsUnique () -> bool
 Helper to check if all paths are unique at compile time.