Rev | Line | |
---|
[857] | 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 |
|
---|
| 16 | namespace boost{
|
---|
| 17 |
|
---|
| 18 | namespace multi_index{
|
---|
| 19 |
|
---|
| 20 | /* dummy type and variable for use in ordered_index::range() */
|
---|
| 21 |
|
---|
| 22 | namespace detail{
|
---|
| 23 |
|
---|
| 24 | struct unbounded_type{};
|
---|
| 25 |
|
---|
| 26 | } /* namespace multi_index::detail */
|
---|
| 27 |
|
---|
| 28 | namespace{
|
---|
| 29 |
|
---|
| 30 | detail::unbounded_type unbounded_obj=detail::unbounded_type();
|
---|
| 31 | detail::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.