Mirror reflection library - Rubber type-erasure utility 0.5.13
|
Class wrapping Mirror's Specifiers. More...
#include <rubber/specifiers.hpp>
Public Member Functions | |
template<typename Specifier > | |
specifier (Specifier s) | |
Constructor erasing the type of a Specifier. | |
puddle::specifier_category | category (void) const |
Returns the category of the specifier. | |
bool | is_a (puddle::specifier_category cat) const |
Checks if the specifier is of a certain type. | |
bool | is_X (void) const |
A set of member functions indicating this meta-object's category. | |
Friends | |
bool | operator== (const specifier &a, const specifier &b) |
Equality comparison. | |
bool | operator!= (const specifier &a, const specifier &b) |
Nonequality comparison. | |
bool | operator<= (const specifier &a, const specifier &b) |
Less-equal comparison. | |
bool | operator>= (const specifier &a, const specifier &b) |
Greater-equal comparison. | |
bool | operator< (const specifier &a, const specifier &b) |
Less-than comparison. | |
bool | operator> (const specifier &a, const specifier &b) |
Greater-than comparison. |
Class wrapping Mirror's Specifiers.
bool rubber::specifier::is_X | ( | void | ) | const |
A set of member functions indicating this meta-object's category.
This is not a single function, it is a set of member functions like is_static, is_const, is_virtual, etc. for every specifier in C++, each returning true or false based on what the specifier reflects.