repr 0.1
Reconstructable string representations and more
Loading...
Searching...
No Matches
fallback.h
Go to the documentation of this file.
1#pragma once
2#include <string>
4
5namespace librepr {
6
7template <typename T>
9 // Fallback for when we couldn't find a suitable repr
10 return REPR_FORMAT(" object at {:p}", static_cast<void const*>(&obj));
11}
12
13}
#define REPR_FORMAT(...)
Definition ctvi/ctvi.h:9
std::string code_for()
Definition repr:39
constexpr ::librepr::ReprWrapper repr
Definition repr:59