Mirror reflection library 0.5.13

mirror/utils/lex_match.hpp

Go to the documentation of this file.
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 

Copyright © 2006-2011 Matus Chochlik, University of Zilina, Zilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Fri Dec 16 2011 by Doxygen (version 1.7.3).
Important note: Although the 'boostified' version of Mirror uses the Boost C++ libraries Coding Guidelines and is implemented inside of the boost namespace, it IS NOT an officially reviewed and accepted Boost library. Mirror is being developed with the intention to be submitted for review for inclusion to the Boost C++ libraries.