repr 0.1
Reconstructable string representations and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
fallback.h
Go to the documentation of this file.
#pragma once
#include <string>
namespace librepr {
template <typename T>
std::string repr(T const& obj){
// Fallback for when we couldn't find a suitable repr
return REPR_FORMAT(" object at {:p}", static_cast<void const*>(&obj));
}
}