Mirror reflection library 0.5.13
|
00001 00010 #ifndef MIRROR_CT_STRING_EMPTY_1105240825_HPP 00011 #define MIRROR_CT_STRING_EMPTY_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 empty<basic_string<Char, C...> > 00021 : std::integral_constant<bool, sizeof ... (C) == 0> 00022 { }; 00023 00024 template <typename Char, Char ... C> 00025 struct nonempty<basic_string<Char, C...> > 00026 : std::integral_constant<bool, sizeof ... (C) != 0> 00027 { }; 00028 00029 } // namespace cts 00030 MIRROR_NAMESPACE_END 00031 00032 #endif //include guard 00033