Mirror reflection library 0.5.13

mirror/ct_string/skip_front.hpp

Go to the documentation of this file.
00001 
00010 #ifndef MIRROR_CT_STRING_SKIP_FRONT_1105240825_HPP
00011 #define MIRROR_CT_STRING_SKIP_FRONT_1105240825_HPP
00012 
00013 #include <mirror/ct_string/default.hpp>
00014 #include <mirror/ct_string/tail.hpp>
00015 #include <mirror/ct_string/size.hpp>
00016 
00017 MIRROR_NAMESPACE_BEGIN
00018 namespace cts {
00019 
00020 #ifndef MIRROR_DOCUMENTATION_ONLY
00021 
00022 template <typename CTString, typename Length>
00023 struct skip_front
00024  : tail<
00025     typename CTString::type,
00026     std::integral_constant<
00027         int,
00028         length<CTString>::value - Length::value
00029     >
00030 > { };
00031 
00032 template <typename CTString, int Count>
00033 struct skip_front_c
00034  : skip_front<
00035     typename CTString::type,
00036     std::integral_constant<int, Count>
00037 >{ };
00038 
00039 #endif
00040 
00041 } // namespace cts
00042 MIRROR_NAMESPACE_END
00043 
00044 #endif //include guard
00045 

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.