|
| 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 > |
| auto | c4::yml::serialize_scalar (substr buf, T const &a) -> typename std::enable_if< std::is_floating_point< T >::value, size_t >::type |
| |
| template<class T > |
| csubstr | c4::yml::serialize_to_arena (Tree *tree, T const &a) |
| |
| csubstr | c4::yml::serialize_to_arena (Tree *tree, csubstr a) |
| |
| csubstr | c4::yml::serialize_to_arena (Tree *tree, substr a) |
| |
| csubstr | c4::yml::serialize_to_arena (Tree *tree, const char *a) |
| |
| csubstr | c4::yml::serialize_to_arena (Tree *, std::nullptr_t) |
| |
| 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 > |
| 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...
|
| |