Mirror reflection library 0.5.13

mirror/ct_string/starts_with.hpp

Go to the documentation of this file.
00001 
00010 #ifndef MIRROR_CT_STRING_STARTS_WITH_1105240825_HPP
00011 #define MIRROR_CT_STRING_STARTS_WITH_1105240825_HPP
00012 
00013 #include <mirror/ct_string/default.hpp>
00014 #include <mirror/ct_string/compare.hpp>
00015 #include <mirror/ct_string/head.hpp>
00016 #include <mirror/ct_string/size.hpp>
00017 
00018 MIRROR_NAMESPACE_BEGIN
00019 namespace cts {
00020 
00021 #ifndef MIRROR_DOCUMENTATION_ONLY
00022 
00023 template <typename CTString1, typename CTString2>
00024 struct starts_with
00025  : equal<
00026     head<CTString1, length<CTString2> >,
00027     CTString2
00028 > { };
00029 
00030 #endif
00031 
00032 } // namespace cts
00033 MIRROR_NAMESPACE_END
00034 
00035 #endif //include guard
00036 

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.