Mirror reflection library 0.5.13
|
00001 00011 #ifndef MIRROR_META_PROG_CONTAINS_1011291729_HPP 00012 #define MIRROR_META_PROG_CONTAINS_1011291729_HPP 00013 00014 00015 #include <mirror/meta_prog/find.hpp> 00016 #include <mirror/meta_prog/not.hpp> 00017 00018 MIRROR_NAMESPACE_BEGIN 00019 namespace mp { 00020 00021 #ifdef MIRROR_DOCUMENTATION_ONLY 00022 00023 00029 template <typename Range, typename Type> 00030 struct contains : public BooleanConstant 00031 { }; 00032 #endif 00033 00034 template <typename Range, typename T> 00035 struct contains 00036 : public not_< empty < find<Range, T> > >::type 00037 { }; 00038 00039 } // namespace mp 00040 MIRROR_NAMESPACE_END 00041 00042 #endif //include guard 00043