|
||||
File indexing completed on 2025-01-19 09:47:48
0001 /*============================================================================= 0002 Copyright (c) 2001-2011 Joel de Guzman 0003 0004 Distributed under the Boost Software License, Version 1.0. (See accompanying 0005 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0006 ==============================================================================*/ 0007 #if !defined(BOOST_SPIRIT_RANGE_MAY_16_2006_0720_PM) 0008 #define BOOST_SPIRIT_RANGE_MAY_16_2006_0720_PM 0009 0010 #if defined(_MSC_VER) 0011 #pragma once 0012 #endif 0013 0014 namespace boost { namespace spirit { namespace support { namespace detail 0015 { 0016 /////////////////////////////////////////////////////////////////////////// 0017 // A closed range (first, last) 0018 /////////////////////////////////////////////////////////////////////////// 0019 template <typename T> 0020 struct range 0021 { 0022 typedef T value_type; 0023 0024 range() : first(), last() {} 0025 range(T first_, T last_) : first(first_), last(last_) {} 0026 0027 T first; 0028 T last; 0029 }; 0030 }}}} 0031 0032 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |