Cbeam
Loading...
Searching...
No Matches
cbeam::container::xpod::type_index Namespace Reference

Defines index constants for the xpod::type variant (e.g., integer, number, boolean, pointer, string). These constants allow you to refer to a specific type index in the underlying variant, simplifying code that checks or extracts a particular xpod type. More...

Variables

constexpr std::size_t integer {0}
 
constexpr std::size_t number {1}
 
constexpr std::size_t boolean {2}
 
constexpr std::size_t pointer {3}
 
constexpr std::size_t string {4}
 

Detailed Description

Defines index constants for the xpod::type variant (e.g., integer, number, boolean, pointer, string). These constants allow you to refer to a specific type index in the underlying variant, simplifying code that checks or extracts a particular xpod type.

Variable Documentation

◆ boolean

std::size_t cbeam::container::xpod::type_index::boolean {2}
constexpr

◆ integer

std::size_t cbeam::container::xpod::type_index::integer {0}
constexpr

◆ number

std::size_t cbeam::container::xpod::type_index::number {1}
constexpr

◆ pointer

std::size_t cbeam::container::xpod::type_index::pointer {3}
constexpr

◆ string

std::size_t cbeam::container::xpod::type_index::string {4}
constexpr