Mirror reflection library 0.5.13

mirror/ct_string/compare.hpp

Go to the documentation of this file.
00001 
00010 #ifndef MIRROR_CT_STRING_COMPARE_1105240825_HPP
00011 #define MIRROR_CT_STRING_COMPARE_1105240825_HPP
00012 
00013 #include <mirror/ct_string/default.hpp>
00014 #include <type_traits>
00015 
00016 MIRROR_NAMESPACE_BEGIN
00017 namespace cts {
00018 
00019 template <typename Char, Char ... C>
00020 struct equal<basic_string<Char, C...>, basic_string<Char, C...> >
00021  : std::true_type
00022 { };
00023 
00024 template <typename Char, Char ... C1, Char ... C2>
00025 struct equal<basic_string<Char, C1...>, basic_string<Char, C2...> >
00026  : std::false_type
00027 { };
00028 
00029 template <typename Char, Char ... C>
00030 struct nonequal<basic_string<Char, C...>, basic_string<Char, C...> >
00031  : std::false_type
00032 { };
00033 
00034 template <typename Char, Char ... C1, Char ... C2>
00035 struct nonequal<basic_string<Char, C1...>, basic_string<Char, C2...> >
00036  : std::true_type
00037 { };
00038 
00039 } // namespace cts
00040 MIRROR_NAMESPACE_END
00041 
00042 #endif //include guard
00043 

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.