as<>
is a PolymorphicFunctionObject for lexically casting a parameter to a different type.
More...
#include <xpressive_fwd.hpp>
Public Types | |
typedef T | result_type |
Public Member Functions | |
template<typename Value > | |
T | operator() (Value const &val) const |
T | operator() (csub_match const &val) const |
INTERNAL ONLY. More... | |
T | operator() (wcsub_match const &val) const |
INTERNAL ONLY. More... | |
template<typename BidiIter > | |
T | operator() (sub_match< BidiIter > const &val) const |
INTERNAL ONLY. More... | |
as<>
is a PolymorphicFunctionObject for lexically casting a parameter to a different type.
T | The type to which to lexically cast the parameter. |
typedef T boost::xpressive::op::as< T >::result_type |
|
inline |
val | The value to lexically cast. |
boost::lexical_cast<T>(val)
References boost::lexical_cast(), T, and boost::xpressive::val().
|
inline |
INTERNAL ONLY.
References boost::lexical_cast(), boost::make_iterator_range(), boost::xpressive::sub_match< BidiIter >::matched, and T.
|
inline |
INTERNAL ONLY.
|
inline |
INTERNAL ONLY.
References BOOST_MPL_ASSERT_MSG, boost::detail::type, and boost::program_options::value().