refl-cpp
refl::attr Namespace Reference

Contains the definitions of the built-in attributes. More...

Namespaces

 usage
 Contains a number of constraints applicable to refl-cpp attributes.
 

Classes

struct  base_types
 
struct  debug
 
struct  property
 

Detailed Description

Contains the definitions of the built-in attributes.

Contains the definitions of the built-in attributes which are implicitly available in macro context as well as the attr::usage namespace which contains constraints for user-provieded attributes.

Examples

REFL_TYPE(Point, debug(custom_printer))
REFL_FIELD(x)
REFL_FIELD(y)
REFL_END
REFL_TYPE
#define REFL_TYPE(TypeName,...)
Definition: refl.hpp:2811
refl::runtime::debug
void debug(std::ostream &os, const T &value, bool compact=false)