/usr/include/boost/dll/detail
NameSizeModeActions
demangling/-0755rm
posix/-0755rm
windows/-0755rm
aggressive_ptr_cast.hpp47550644editdlrm
ctor_dtor.hpp66410644editdlrm
elf_info.hpp110810644editdlrm
get_mem_fn_type.hpp12390644editdlrm
import_mangled_helpers.hpp84120644editdlrm
macho_info.hpp142780644editdlrm
pe_info.hpp167850644editdlrm
system_error.hpp13880644editdlrm
type_info.hpp26760644editdlrm
Edit: /usr/include/boost/dll/detail/system_error.hpp (1388B)
// Copyright 2014 Renato Tegon Forti, Antony Polukhin. // Copyright 2015-2019 Antony Polukhin. // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_DLL_SYSTEM_ERROR_HPP #define BOOST_DLL_SYSTEM_ERROR_HPP #include #include #include #if !BOOST_OS_WINDOWS # include #endif #ifdef BOOST_HAS_PRAGMA_ONCE # pragma once #endif namespace boost { namespace dll { namespace detail { inline void reset_dlerror() BOOST_NOEXCEPT { #if !BOOST_OS_WINDOWS const char* const error_txt = dlerror(); (void)error_txt; #endif } inline void report_error(const boost::dll::fs::error_code& ec, const char* message) { #if !BOOST_OS_WINDOWS const char* const error_txt = dlerror(); if (error_txt) { boost::throw_exception( boost::dll::fs::system_error( ec, message + std::string(" (dlerror system message: ") + error_txt + std::string(")") ) ); } #endif boost::throw_exception( boost::dll::fs::system_error( ec, message ) ); } }}} // boost::dll::detail #endif // BOOST_DLL_SYSTEM_ERROR_HPP