xtd 0.2.0
Loading...
Searching...
No Matches

◆ as< std::string >()

template<>
std::string xtd::as< std::string > ( const std::string &  value)
inline

Casts a type into another type.

Header
#include <xtd/as>
Namespace
xtd
Library
xtd.core
Examples
string value = "Gammasoft";
string result = as<string>(value);
string as< string >(std::any value)
Casts a type into another type.
Definition __as_string.h:36