Mirror reflection library 0.5.13

mirror/ct_string/front.hpp

Go to the documentation of this file.
00001 
00010 #ifndef MIRROR_CT_STRING_FRONT_1105240825_HPP
00011 #define MIRROR_CT_STRING_FRONT_1105240825_HPP
00012 
00013 #include <mirror/ct_string/default.hpp>
00014 
00015 MIRROR_NAMESPACE_BEGIN
00016 namespace cts {
00017 
00018 template <typename Char>
00019 struct front<basic_string<Char> >
00020  : std::integral_constant<Char, 0>
00021 { };
00022 
00023 template <typename Char, Char C, Char ... Cn>
00024 struct front<basic_string<Char, C, Cn...> >
00025  : std::integral_constant<Char, C>
00026 { };
00027 
00028 } // namespace cts
00029 MIRROR_NAMESPACE_END
00030 
00031 #endif //include guard
00032 

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.