source: NonGTP/Boost/boost/multi_index/detail/unbounded.hpp @ 857

Revision 857, 870 bytes checked in by igarcia, 19 years ago (diff)
Line 
1/* Copyright 2003-2005 Joaquín M López Muñoz.
2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or copy at
4 * http://www.boost.org/LICENSE_1_0.txt)
5 *
6 * See http://www.boost.org/libs/multi_index for library home page.
7 */
8
9#ifndef BOOST_MULTI_INDEX_DETAIL_UNBOUNDED_HPP
10#define BOOST_MULTI_INDEX_DETAIL_UNBOUNDED_HPP
11
12#if defined(_MSC_VER)&&(_MSC_VER>=1200)
13#pragma once
14#endif
15
16namespace boost{
17
18namespace multi_index{
19
20/* dummy type and variable for use in ordered_index::range() */
21
22namespace detail{
23
24struct unbounded_type{};
25
26} /* namespace multi_index::detail */
27
28namespace{
29
30detail::unbounded_type  unbounded_obj=detail::unbounded_type();
31detail::unbounded_type& unbounded=unbounded_obj;
32
33} /* unnamed */
34
35} /* namespace multi_index */
36
37} /* namespace boost */
38
39#endif
Note: See TracBrowser for help on using the repository browser.