Mirror reflection library 0.5.13
|
00001 00011 #ifndef MIRROR_UTILS_LEX_MATCH_1011291729_HPP 00012 #define MIRROR_UTILS_LEX_MATCH_1011291729_HPP 00013 00014 #include <mirror/config.hpp> 00015 #include <mirror/utils/lex_match/base.hpp> 00016 #include <mirror/utils/lex_match/bool.hpp> 00017 #include <mirror/utils/lex_match/std_tm.hpp> 00018 00019 MIRROR_NAMESPACE_BEGIN 00020 00022 00025 template <typename T> 00026 struct lex_match : public aux::_lex_match<T> 00027 { 00028 inline double operator()(const std::string& str) const 00029 { 00030 std::string::const_iterator i = str.begin(); 00031 return this->match(i, str.end()); 00032 } 00033 }; 00034 00035 MIRROR_NAMESPACE_END 00036 00037 #endif //include guard 00038