OpenEnroth 73e68f7
|
#include <string>
#include <string_view>
#include "SerializationFwd.h"
#include "StandardSerialization.h"
Classes | |
struct | detail::StringSerializer |
struct | detail::StringDeserializer< T > |
Namespaces | |
namespace | detail |
Variables | |
constexpr detail::StringSerializer | toString |
template<class T > | |
constexpr detail::StringDeserializer< T > | fromString |
|
constexpr |
Ranges-friendly deserialization object.
Can be used as range | std::views::transform(fromString<int>)
. Or directly, as return fromString<int>(some_string)
.
Under the hood it's just calling the deserialize
function using argument-dependent lookup.
|
constexpr |
Ranges-friendly serialization object.
Can be used as range | std::views::transform(toString)
. Or directly, as return toString(some_integer);
.
Under the hood it's just calling the serialize
function using argument-dependent lookup.