#include "c4/error.hpp"
#include "c4/types.hpp"
#include "c4/yml/fwd.hpp"
#include "c4/yml/common.hpp"
#include "c4/yml/node_type.hpp"
#include "c4/yml/tag.hpp"
#include <c4/charconv.hpp>
#include <cmath>
#include <limits>
Go to the source code of this file.
|
| template<class T > |
| auto | c4::yml::read (Tree const *tree, id_type id, T *v) -> typename std::enable_if<!std::is_arithmetic< T >::value, bool >::type |
| | convert the val of a scalar node to a particular non-arithmetic non-float type, by forwarding its val to from_chars<T>(). More...
|
| |
| template<class T > |
| auto | c4::yml::readkey (Tree const *tree, id_type id, T *v) -> typename std::enable_if<!std::is_arithmetic< T >::value, bool >::type |
| | convert the key of a node to a particular non-arithmetic non-float type, by forwarding its key to from_chars<T>(). More...
|
| |
| template<class T > |
| size_t | c4::yml::to_chars_float (substr buf, T val) |
| | encode a floating point value to a string. More...
|
| |
| template<class T > |
| bool | c4::yml::from_chars_float (csubstr buf, T *val) |
| | decode a floating point from string. More...
|
| |
| template<class T > |
| std::enable_if< std::is_floating_point< T >::value, bool >::type | c4::yml::read (Tree const *tree, id_type id, T *v) |
| | convert the val of a scalar node to a floating point type, by forwarding its val to from_chars_float<T>(). More...
|
| |
| template<class T > |
| std::enable_if< std::is_floating_point< T >::value, bool >::type | c4::yml::readkey (Tree const *tree, id_type id, T *v) |
| | convert the key of a scalar node to a floating point type, by forwarding its key to from_chars_float<T>(). More...
|
| |