Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:42:11

0001 /* Copyright 2003-2020 Joaquin M Lopez Munoz.
0002  * Distributed under the Boost Software License, Version 1.0.
0003  * (See accompanying file LICENSE_1_0.txt or copy at
0004  * http://www.boost.org/LICENSE_1_0.txt)
0005  *
0006  * See http://www.boost.org/libs/multi_index for library home page.
0007  */
0008 
0009 #ifndef BOOST_MULTI_INDEX_SAFE_MODE_ERRORS_HPP
0010 #define BOOST_MULTI_INDEX_SAFE_MODE_ERRORS_HPP
0011 
0012 #if defined(_MSC_VER)
0013 #pragma once
0014 #endif
0015 
0016 namespace boost{
0017 
0018 namespace multi_index{
0019 
0020 namespace safe_mode{
0021 
0022 /* Error codes for Boost.MultiIndex safe mode. These go in a separate
0023  * header so that the user can include it when redefining
0024  * BOOST_MULTI_INDEX_SAFE_MODE_ASSERT prior to the inclusion of
0025  * any other header of Boost.MultiIndex.
0026  */
0027 
0028 enum error_code
0029 {
0030   invalid_iterator=0,
0031   not_dereferenceable_iterator,
0032   not_incrementable_iterator,
0033   not_decrementable_iterator,
0034   not_owner,
0035   not_same_owner,
0036   invalid_range,
0037   inside_range,
0038   out_of_bounds,
0039   same_container,
0040   unequal_allocators
0041 };
0042 
0043 } /* namespace multi_index::safe_mode */
0044 
0045 } /* namespace multi_index */
0046 
0047 } /* namespace boost */
0048 
0049 #endif