1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/multi_index/safe_mode_errors.hpp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,48 @@
1.4 +/* Copyright 2003-2006 Joaquín M López Muñoz.
1.5 + * Distributed under the Boost Software License, Version 1.0.
1.6 + * (See accompanying file LICENSE_1_0.txt or copy at
1.7 + * http://www.boost.org/LICENSE_1_0.txt)
1.8 + *
1.9 + * See http://www.boost.org/libs/multi_index for library home page.
1.10 + */
1.11 +
1.12 +#ifndef BOOST_MULTI_INDEX_SAFE_MODE_ERRORS_HPP
1.13 +#define BOOST_MULTI_INDEX_SAFE_MODE_ERRORS_HPP
1.14 +
1.15 +#if defined(_MSC_VER)&&(_MSC_VER>=1200)
1.16 +#pragma once
1.17 +#endif
1.18 +
1.19 +namespace boost{
1.20 +
1.21 +namespace multi_index{
1.22 +
1.23 +namespace safe_mode{
1.24 +
1.25 +/* Error codes for Boost.MultiIndex safe mode. These go in a separate
1.26 + * header so that the user can include it when redefining
1.27 + * BOOST_MULTI_INDEX_SAFE_MODE_ASSERT prior to the inclusion of
1.28 + * any other header of Boost.MultiIndex.
1.29 + */
1.30 +
1.31 +enum error_code
1.32 +{
1.33 + invalid_iterator=0,
1.34 + not_dereferenceable_iterator,
1.35 + not_incrementable_iterator,
1.36 + not_decrementable_iterator,
1.37 + not_owner,
1.38 + not_same_owner,
1.39 + invalid_range,
1.40 + inside_range,
1.41 + out_of_bounds,
1.42 + same_container
1.43 +};
1.44 +
1.45 +} /* namespace multi_index::safe_mode */
1.46 +
1.47 +} /* namespace multi_index */
1.48 +
1.49 +} /* namespace boost */
1.50 +
1.51 +#endif