Mirror reflection library 0.5.13

mirror/meta_prog/contains.hpp

Go to the documentation of this file.
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 

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.