Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /* Copyright 2003-2023 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_DETAIL_BAD_ARCHIVE_EXCEPTION_HPP
0010 #define BOOST_MULTI_INDEX_DETAIL_BAD_ARCHIVE_EXCEPTION_HPP
0011 
0012 #if defined(_MSC_VER)
0013 #pragma once
0014 #endif
0015 
0016 #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
0017 #include <stdexcept>
0018 
0019 namespace boost{
0020 
0021 namespace multi_index{
0022 
0023 namespace detail{
0024 
0025 struct bad_archive_exception:std::runtime_error
0026 {
0027   bad_archive_exception():std::runtime_error("Invalid or corrupted archive"){}
0028 };
0029 
0030 } /* namespace multi_index::detail */
0031 
0032 } /* namespace multi_index */
0033 
0034 } /* namespace boost */
0035 
0036 #endif