piranha
0.10
|
Default functor for the implementation of piranha::convert_to(). More...
#include <piranha/convert_to.hpp>
Public Member Functions | |
template<typename From2 > | |
return_type< From2 > | operator() (const From2 &x) const |
Call operator. More... | |
Default functor for the implementation of piranha::convert_to().
Definition at line 43 of file convert_to.hpp.
|
inline |
Call operator.
static_cast<To>(x)
is a well-formed expression, returning a type which satisfies piranha::is_returnable.The body of this operator is equivalent to:
x | conversion argument. |
To
cast from x
.unspecified | any exception thrown by casting x to To . |
Definition at line 69 of file convert_to.hpp.