annotate DEPENDENCIES/generic/include/boost/multi_index/safe_mode_errors.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@101 1 /* Copyright 2003-2013 Joaquin M Lopez Munoz.
Chris@16 2 * Distributed under the Boost Software License, Version 1.0.
Chris@16 3 * (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 4 * http://www.boost.org/LICENSE_1_0.txt)
Chris@16 5 *
Chris@16 6 * See http://www.boost.org/libs/multi_index for library home page.
Chris@16 7 */
Chris@16 8
Chris@16 9 #ifndef BOOST_MULTI_INDEX_SAFE_MODE_ERRORS_HPP
Chris@16 10 #define BOOST_MULTI_INDEX_SAFE_MODE_ERRORS_HPP
Chris@16 11
Chris@101 12 #if defined(_MSC_VER)
Chris@16 13 #pragma once
Chris@16 14 #endif
Chris@16 15
Chris@16 16 namespace boost{
Chris@16 17
Chris@16 18 namespace multi_index{
Chris@16 19
Chris@16 20 namespace safe_mode{
Chris@16 21
Chris@16 22 /* Error codes for Boost.MultiIndex safe mode. These go in a separate
Chris@16 23 * header so that the user can include it when redefining
Chris@16 24 * BOOST_MULTI_INDEX_SAFE_MODE_ASSERT prior to the inclusion of
Chris@16 25 * any other header of Boost.MultiIndex.
Chris@16 26 */
Chris@16 27
Chris@16 28 enum error_code
Chris@16 29 {
Chris@16 30 invalid_iterator=0,
Chris@16 31 not_dereferenceable_iterator,
Chris@16 32 not_incrementable_iterator,
Chris@16 33 not_decrementable_iterator,
Chris@16 34 not_owner,
Chris@16 35 not_same_owner,
Chris@16 36 invalid_range,
Chris@16 37 inside_range,
Chris@16 38 out_of_bounds,
Chris@16 39 same_container
Chris@16 40 };
Chris@16 41
Chris@16 42 } /* namespace multi_index::safe_mode */
Chris@16 43
Chris@16 44 } /* namespace multi_index */
Chris@16 45
Chris@16 46 } /* namespace boost */
Chris@16 47
Chris@16 48 #endif