Warning, file /include/boost/range/detail/misc_concept.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_RANGE_DETAIL_MISC_CONCEPT_HPP_INCLUDED
0009 #define BOOST_RANGE_DETAIL_MISC_CONCEPT_HPP_INCLUDED
0010
0011 #include <boost/concept_check.hpp>
0012
0013 namespace boost
0014 {
0015 namespace range_detail
0016 {
0017 template<typename T1, typename T2>
0018 class SameTypeConcept
0019 {
0020 public:
0021 BOOST_CONCEPT_USAGE(SameTypeConcept)
0022 {
0023 same_type(a,b);
0024 }
0025 private:
0026 template<typename T> void same_type(T,T) {}
0027 T1 a;
0028 T2 b;
0029 };
0030 }
0031 }
0032
0033 #endif