repr 0.1
Reconstructable string representations and more
Loading...
Searching...
No Matches
to_tuple.h File Reference
#include <memory>
#include <type_traits>
#include <librepr/util/collections/tuple.h>
#include "visit_aggregate.h"
Include dependency graph for to_tuple.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  librepr
 
namespace  librepr::detail
 

Functions

template<typename T >
requires (std::is_aggregate_v<std::remove_cvref_t<T>> && !std::is_array_v<std::remove_cvref_t<T>>)
constexpr auto librepr::detail::to_tuple (T &&object)
 
template<typename T >
requires (std::is_aggregate_v<std::remove_cvref_t<T>> && !std::is_array_v<std::remove_cvref_t<T>>)
constexpr auto librepr::detail::to_addr_tuple (T &&object)