repr 0.1
Reconstructable string representations and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
pair.h
Go to the documentation of this file.
#pragma once
#include <string>
#include <type_traits>
#include "category.h"
namespace librepr {
template <typename T>
struct Reflect;
template <detail::pair_like T>
struct Reflect<T> : category::Type<T> {
using type = T;
using first_type = typename T::first_type;
using second_type = typename T::second_type;
constexpr static bool can_descend = true;
constexpr static bool iterable = false;
constexpr static bool tuple_like = true;
template <typename V>
static void visit(V&& visitor, T& obj) {
}
template <typename V>
};
} // namespace librepr