Holds the functor to a method. More...
#include <object_expression.hpp>
Public Types | |
typedef R | return_type |
Public Member Functions | |
variable (variable_impl< R > *impl) | |
variable (const variable &x) | |
variable & | operator= (const variable &x) |
return_type | operator() (const object_holder &optr) const |
Holds the functor to a method.
R | Type of the variable |
Wrapper class for the concrete variable implementation.
typedef R matador::variable< R >::return_type |
Shortcut for return type.
|
inlineexplicit |
Initializes a variable with a pointer to a concrete variable implemnation.
impl | The concrete variable. |
|
inline |
Copies from the given variable.
x | The variable to copy from. |
|
inline |
Applies the () operator of the concrete variable and returns the result.
optr | The serializable to apply the variable to. |
|
inline |
Assigns from the given variable.
x | The variable to assign from. |