Warning, file /include/boost/algorithm/string/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
0009
0010
0011 #ifndef BOOST_STRING_CONCEPT_HPP
0012 #define BOOST_STRING_CONCEPT_HPP
0013
0014 #include <boost/concept_check.hpp>
0015 #include <boost/range/iterator_range_core.hpp>
0016 #include <boost/range/begin.hpp>
0017 #include <boost/range/end.hpp>
0018
0019
0020
0021
0022
0023 namespace boost {
0024 namespace algorithm {
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034 template<typename FinderT, typename IteratorT>
0035 struct FinderConcept
0036 {
0037 private:
0038 typedef iterator_range<IteratorT> range;
0039 public:
0040 void constraints()
0041 {
0042
0043 r=(*pF)(i,i);
0044 }
0045 private:
0046 range r;
0047 IteratorT i;
0048 FinderT* pF;
0049 };
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061 template<typename FormatterT, typename FinderT, typename IteratorT>
0062 struct FormatterConcept
0063 {
0064 public:
0065 void constraints()
0066 {
0067
0068 ::boost::begin((*pFo)( (*pF)(i,i) ));
0069 ::boost::end((*pFo)( (*pF)(i,i) ));
0070 }
0071 private:
0072 IteratorT i;
0073 FinderT* pF;
0074 FormatterT *pFo;
0075 };
0076
0077 }
0078 }
0079
0080
0081
0082
0083 #endif