comparison DEPENDENCIES/generic/include/boost/xpressive/sub_match.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
9 9
10 #ifndef BOOST_XPRESSIVE_SUB_MATCH_HPP_EAN_10_04_2005 10 #ifndef BOOST_XPRESSIVE_SUB_MATCH_HPP_EAN_10_04_2005
11 #define BOOST_XPRESSIVE_SUB_MATCH_HPP_EAN_10_04_2005 11 #define BOOST_XPRESSIVE_SUB_MATCH_HPP_EAN_10_04_2005
12 12
13 // MS compatible compilers support #pragma once 13 // MS compatible compilers support #pragma once
14 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 14 #if defined(_MSC_VER)
15 # pragma once 15 # pragma once
16 #endif 16 #endif
17 17
18 #include <iosfwd> 18 #include <iosfwd>
19 #include <string> 19 #include <string>
21 #include <iterator> 21 #include <iterator>
22 #include <algorithm> 22 #include <algorithm>
23 #include <boost/mpl/assert.hpp> 23 #include <boost/mpl/assert.hpp>
24 #include <boost/type_traits/is_same.hpp> 24 #include <boost/type_traits/is_same.hpp>
25 #include <boost/iterator/iterator_traits.hpp> 25 #include <boost/iterator/iterator_traits.hpp>
26 #include <boost/range/const_iterator.hpp>
27 #include <boost/range/mutable_iterator.hpp>
26 #include <boost/xpressive/detail/detail_fwd.hpp> 28 #include <boost/xpressive/detail/detail_fwd.hpp>
27 29
28 //{{AFX_DOC_COMMENT 30 //{{AFX_DOC_COMMENT
29 /////////////////////////////////////////////////////////////////////////////// 31 ///////////////////////////////////////////////////////////////////////////////
30 // This is a hack to get Doxygen to show the inheritance relation between 32 // This is a hack to get Doxygen to show the inheritance relation between
438 // Hook the Boost.Range customization points to make sub_match a valid range. 440 // Hook the Boost.Range customization points to make sub_match a valid range.
439 namespace boost 441 namespace boost
440 { 442 {
441 /// INTERNAL ONLY 443 /// INTERNAL ONLY
442 /// 444 ///
443 template<typename Range>
444 struct range_mutable_iterator;
445
446 /// INTERNAL ONLY
447 ///
448 template<typename BidiIter> 445 template<typename BidiIter>
449 struct range_mutable_iterator<xpressive::sub_match<BidiIter> > 446 struct range_mutable_iterator<xpressive::sub_match<BidiIter> >
450 { 447 {
451 typedef BidiIter type; 448 typedef BidiIter type;
452 }; 449 };
453
454 /// INTERNAL ONLY
455 ///
456 template<typename Range>
457 struct range_const_iterator;
458 450
459 /// INTERNAL ONLY 451 /// INTERNAL ONLY
460 /// 452 ///
461 template<typename BidiIter> 453 template<typename BidiIter>
462 struct range_const_iterator<xpressive::sub_match<BidiIter> > 454 struct range_const_iterator<xpressive::sub_match<BidiIter> >