MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Converters

Class Converters

Source/Utils/ini.hpp:76–84  ·  view source on GitHub ↗

Simple converter using templates and streams to effectively required for the flexibility of handling native types

Source from the content-addressed store, hash-verified

74
75///Simple converter using templates and streams to effectively required for the flexibility of handling native types
76class Converters
77{
78public:
79 template <typename T, typename U>
80 static T Convert(U value);
81 template <typename T>
82 static size_t GetDataSize(T& value);
83 static size_t GetDataSize(fini_string_t value);
84};
85
86///
87template <typename T = fini_string_t, typename U = fini_string_t, typename V = fini_string_t>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected