third-party
realsense-file
boost
boost
optional
bad_optional_access.hpp
Go to the documentation of this file.
1
// Copyright (C) 2014, Andrzej Krzemienski.
2
//
3
// Use, modification, and distribution is subject to the Boost Software
4
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5
// http://www.boost.org/LICENSE_1_0.txt)
6
//
7
// See http://www.boost.org/libs/optional for documentation.
8
//
9
// You are welcome to contact the author at:
10
// akrzemi1@gmail.com
11
//
12
#ifndef BOOST_BAD_OPTIONAL_ACCESS_22MAY2014_HPP
13
#define BOOST_BAD_OPTIONAL_ACCESS_22MAY2014_HPP
14
15
#include <stdexcept>
16
#if __cplusplus < 201103L
17
#include <string>
// to make converting-ctor std::string(char const*) visible
18
#endif
19
20
namespace
boost
{
21
22
class
bad_optional_access
:
public
std::logic_error
23
{
24
public
:
25
bad_optional_access
()
26
:
std
::logic_error(
"Attempted to access the value of an uninitialized optional object."
)
27
{}
28
};
29
30
}
// namespace boost
31
32
#endif
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
Definition:
core/addressof.hpp:19
std
Definition:
android_helpers.h:13
boost::bad_optional_access
Definition:
bad_optional_access.hpp:22
boost::bad_optional_access::bad_optional_access
bad_optional_access()
Definition:
bad_optional_access.hpp:25
librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Thu Dec 22 2022 03:41:42