• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*=============================================================================
2     Copyright (c) 2001-2011 Joel de Guzman
3 
4     Distributed under the Boost Software License, Version 1.0. (See accompanying
5     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(BOOST_SPIRIT_RANGE_MAY_16_2006_0720_PM)
8 #define BOOST_SPIRIT_RANGE_MAY_16_2006_0720_PM
9 
10 #if defined(_MSC_VER)
11 #pragma once
12 #endif
13 
14 namespace boost { namespace spirit { namespace support { namespace detail
15 {
16     ///////////////////////////////////////////////////////////////////////////
17     //  A closed range (first, last)
18     ///////////////////////////////////////////////////////////////////////////
19     template <typename T>
20     struct range
21     {
22         typedef T value_type;
23 
rangeboost::spirit::support::detail::range24         range() : first(), last() {}
rangeboost::spirit::support::detail::range25         range(T first_, T last_) : first(first_), last(last_) {}
26 
27         T first;
28         T last;
29     };
30 }}}}
31 
32 #endif
33