|
repr 0.1
Reconstructable string representations and more
|
#include <string>#include <librepr/customization.h>#include <librepr/type_info.h>#include <librepr/visit.h>#include <librepr/visitors/repr.h>#include <librepr/visitors/cpp.h>#include <librepr/visitors/python.h>#include <librepr/visitors/layout.h>Go to the source code of this file.
Classes | |
| struct | librepr::ReprWrapper |
Namespaces | |
| namespace | librepr |
Enumerations | |
| enum class | librepr::Language { librepr::CPP , librepr::Python } |
Functions | |
| template<typename T , Language language = Language::CPP> | |
| std::string | librepr::code_for () |
| template<typename T > | |
| std::string | librepr::layout_of () |
Variables | |
| constexpr ::librepr::ReprWrapper | repr {} |
| template<typename T > | |
| constexpr ::librepr::TypeName< T > | nameof {} |
|
inline |
|
inline |
Returns a reconstructable string representation of the given object.