Class representation¶
class representation<T> meta¶
template <typename T>
struct representation { … } Primary template for converting a value of type T to its string representation.
| T | Type to represent. |
typedef type ¶
using type = T Fully qualified name: kfr::representation<T>::type
Declared at meta/string.hpp:283
function get(const T &) ¶
static constexpr auto get(const T& value) noexcept { … } Fully qualified name: kfr::representation<T>::get(const T &)
Declared at meta/string.hpp:284
Fully qualified name: kfr::representation<T>
Declared at meta/string.hpp:281
Class representation¶
class representation<named_arg<T>> meta¶
template <typename T>
struct representation<named_arg<T>> { … } Representation of named_arg as name = value".
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<named_arg<T>>::type
Declared at meta/string.hpp:691
function get(const named_arg<T> &) ¶
Fully qualified name: kfr::representation<named_arg<T>>::get(const named_arg<T> &)
Declared at meta/string.hpp:692
Fully qualified name: kfr::representation<named_arg<T>>
Declared at meta/string.hpp:689
Class representation¶
class representation<std::pair<T1, T2>> meta¶
template <typename T1, typename T2>
struct representation<std::pair<T1, T2>> { … } Representation of std::pair as (first; second)".
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<std::pair<T1, T2>>::type
Declared at meta/string.hpp:704
function get(const std::pair<T1, T2> &) ¶
Fully qualified name: kfr::representation<std::pair<T1, T2>>::get(const std::pair<T1, T2> &)
Declared at meta/string.hpp:705
Fully qualified name: kfr::representation<std::pair<T1, T2>>
Declared at meta/string.hpp:702
Class representation¶
class representation<std::unique_ptr<T1>> meta¶
template <typename T1>
struct representation<std::unique_ptr<T1>> { … } Representation of std::unique_ptr as Type(value) or Type(nullptr)".
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<std::unique_ptr<T1>>::type
Declared at meta/string.hpp:717
function get(const std::unique_ptr<T1> &) ¶
Fully qualified name: kfr::representation<std::unique_ptr<T1>>::get(const std::unique_ptr<T1> &)
Declared at meta/string.hpp:718
Fully qualified name: kfr::representation<std::unique_ptr<T1>>
Declared at meta/string.hpp:715
Class representation¶
class representation<std::weak_ptr<T1>> meta¶
template <typename T1>
struct representation<std::weak_ptr<T1>> { … } Representation of std::weak_ptr as Type(value) or Type(nullptr)".
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<std::weak_ptr<T1>>::type
Declared at meta/string.hpp:733
function get(const std::weak_ptr<T1> &) ¶
Fully qualified name: kfr::representation<std::weak_ptr<T1>>::get(const std::weak_ptr<T1> &)
Declared at meta/string.hpp:734
Fully qualified name: kfr::representation<std::weak_ptr<T1>>
Declared at meta/string.hpp:731
Class representation¶
class representation<std::shared_ptr<T1>> meta¶
template <typename T1>
struct representation<std::shared_ptr<T1>> { … } Representation of std::shared_ptr as Type(value) or Type(nullptr)".
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<std::shared_ptr<T1>>::type
Declared at meta/string.hpp:750
function get(const std::shared_ptr<T1> &) ¶
Fully qualified name: kfr::representation<std::shared_ptr<T1>>::get(const std::shared_ptr<T1> &)
Declared at meta/string.hpp:751
Fully qualified name: kfr::representation<std::shared_ptr<T1>>
Declared at meta/string.hpp:748
Class representation¶
struct representation<std::shared_ptr<void>> meta¶
template <>
struct representation<std::shared_ptr<void>> { … } Representation of std::shared_ptr<void> as Type(pointer) or Type(nullptr)".
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<std::shared_ptr<void>>::type
Declared at meta/string.hpp:766
function get(const std::shared_ptr<void> &) ¶
Fully qualified name: kfr::representation<std::shared_ptr<void>>::get(const std::shared_ptr<void> &)
Declared at meta/string.hpp:767
Fully qualified name: kfr::representation<std::shared_ptr<void>>
Declared at meta/string.hpp:764
Class representation¶
class representation<std::array<T, Size>> meta¶
template <typename T, size_t Size>
struct representation<std::array<T, Size>> { … } Representation of std::array as a brace-delimited list of its elements.
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<std::array<T, Size>>::type
Declared at meta/string.hpp:968
function get(const std::array<T, Size> &) ¶
Fully qualified name: kfr::representation<std::array<T, Size>>::get(const std::array<T, Size> &)
Declared at meta/string.hpp:969
Fully qualified name: kfr::representation<std::array<T, Size>>
Declared at meta/string.hpp:966
Class representation¶
class representation<std::vector<T, Allocator>> meta¶
template <typename T, typename Allocator>
struct representation<std::vector<T, Allocator>> { … } Representation of std::vector as a brace-delimited list of its elements.
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<std::vector<T, Allocator>>::type
Declared at meta/string.hpp:980
function get(const std::vector<T, Allocator> &) ¶
Fully qualified name: kfr::representation<std::vector<T, Allocator>>::get(const std::vector<T, Allocator> &)
Declared at meta/string.hpp:981
Fully qualified name: kfr::representation<std::vector<T, Allocator>>
Declared at meta/string.hpp:978
Class representation¶
struct representation<std::string_view> meta¶
template <>
struct representation<std::string_view> { … } Representation of std::string_view as a std::string.
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<std::string_view>::type
Declared at meta/string.hpp:992
function get(const std::string_view &) ¶
Fully qualified name: kfr::representation<std::string_view>::get(const std::string_view &)
Declared at meta/string.hpp:993
Fully qualified name: kfr::representation<std::string_view>
Declared at meta/string.hpp:990