]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/dll/import_mangled.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / dll / import_mangled.hpp
index 37d9327f051a942a8dbdaef54c6e370283af350c..e8dbe3b016c2222a4538d9a905dc7b98e502ded0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2015-2016 Klemens D. Morgenstern
+// Copyright 2015-2018 Klemens D. Morgenstern
 //
 // Distributed under the Boost Software License, Version 1.0.
 // (See accompanying file LICENSE_1_0.txt
@@ -8,7 +8,7 @@
 #ifndef BOOST_DLL_IMPORT_MANGLED_HPP_
 #define BOOST_DLL_IMPORT_MANGLED_HPP_
 
-#include <boost/config.hpp>
+#include <boost/dll/config.hpp>
 #include <boost/make_shared.hpp>
 #include <boost/move/move.hpp>
 #include <boost/dll/smart_library.hpp>
@@ -215,13 +215,13 @@ struct mangled_import_type<sequence<T>, false, false, true> //is variable
 *
 * \return callable object if T is a function type, or boost::shared_ptr<T> if T is an object type.
 *
-* \throw boost::system::system_error if symbol does not exist or if the DLL/DSO was not loaded.
+* \throw \forcedlinkfs{system_error} if symbol does not exist or if the DLL/DSO was not loaded.
 *       Overload that accepts path also throws std::bad_alloc in case of insufficient memory.
 */
 
 
 template <class ...Args>
-BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(const boost::filesystem::path& lib, const char* name,
+BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(const boost::dll::fs::path& lib, const char* name,
     load_mode::type mode = load_mode::default_mode)
 {
     typedef typename boost::dll::experimental::detail::mangled_import_type<
@@ -234,15 +234,15 @@ BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(const boost::filesystem::pat
 
 
 
-//! \overload boost::dll::import(const boost::filesystem::path& lib, const char* name, load_mode::type mode)
+//! \overload boost::dll::import(const boost::dll::fs::path& lib, const char* name, load_mode::type mode)
 template <class ...Args>
-BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(const boost::filesystem::path& lib, const std::string& name,
+BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(const boost::dll::fs::path& lib, const std::string& name,
     load_mode::type mode = load_mode::default_mode)
 {
     return import_mangled<Args...>(lib, name.c_str(), mode);
 }
 
-//! \overload boost::dll::import(const boost::filesystem::path& lib, const char* name, load_mode::type mode)
+//! \overload boost::dll::import(const boost::dll::fs::path& lib, const char* name, load_mode::type mode)
 template <class ...Args>
 BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(const smart_library& lib, const char* name) {
     typedef typename boost::dll::experimental::detail::mangled_import_type<detail::sequence<Args...>> type;
@@ -250,13 +250,13 @@ BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(const smart_library& lib, co
     return type::make(lib, name);
 }
 
-//! \overload boost::dll::import(const boost::filesystem::path& lib, const char* name, load_mode::type mode)
+//! \overload boost::dll::import(const boost::dll::fs::path& lib, const char* name, load_mode::type mode)
 template <class ...Args>
 BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(const smart_library& lib, const std::string& name) {
     return import_mangled<Args...>(lib, name.c_str());
 }
 
-//! \overload boost::dll::import(const boost::filesystem::path& lib, const char* name, load_mode::type mode)
+//! \overload boost::dll::import(const boost::dll::fs::path& lib, const char* name, load_mode::type mode)
 template <class ...Args>
 BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(BOOST_RV_REF(smart_library) lib, const char* name) {
     typedef typename boost::dll::experimental::detail::mangled_import_type<detail::sequence<Args...>> type;
@@ -264,13 +264,13 @@ BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(BOOST_RV_REF(smart_library)
     return type::make(lib, name);
 }
 
-//! \overload boost::dll::import(const boost::filesystem::path& lib, const char* name, load_mode::type mode)
+//! \overload boost::dll::import(const boost::dll::fs::path& lib, const char* name, load_mode::type mode)
 template <class ...Args>
 BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(BOOST_RV_REF(smart_library) lib, const std::string& name) {
     return import_mangled<Args...>(boost::move(lib), name.c_str());
 }
 
-//! \overload boost::dll::import(const boost::filesystem::path& lib, const char* name, load_mode::type mode)
+//! \overload boost::dll::import(const boost::dll::fs::path& lib, const char* name, load_mode::type mode)
 template <class ...Args>
 BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(const shared_library& lib, const char* name) {
     typedef typename boost::dll::experimental::detail::mangled_import_type<detail::sequence<Args...>> type;
@@ -279,13 +279,13 @@ BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(const shared_library& lib, c
     return type::make(p, name);
 }
 
-//! \overload boost::dll::import(const boost::filesystem::path& lib, const char* name, load_mode::type mode)
+//! \overload boost::dll::import(const boost::dll::fs::path& lib, const char* name, load_mode::type mode)
 template <class ...Args>
 BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(const shared_library& lib, const std::string& name) {
     return import_mangled<Args...>(lib, name.c_str());
 }
 
-//! \overload boost::dll::import(const boost::filesystem::path& lib, const char* name, load_mode::type mode)
+//! \overload boost::dll::import(const boost::dll::fs::path& lib, const char* name, load_mode::type mode)
 template <class ...Args>
 BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(BOOST_RV_REF(shared_library) lib, const char* name) {
     typedef typename boost::dll::experimental::detail::mangled_import_type<detail::sequence<Args...>> type;
@@ -295,7 +295,7 @@ BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(BOOST_RV_REF(shared_library)
     return type::make(p, name);
 }
 
-//! \overload boost::dll::import(const boost::filesystem::path& lib, const char* name, load_mode::type mode)
+//! \overload boost::dll::import(const boost::dll::fs::path& lib, const char* name, load_mode::type mode)
 template <class ...Args>
 BOOST_DLL_MANGLED_IMPORT_RESULT_TYPE import_mangled(BOOST_RV_REF(shared_library) lib, const std::string& name) {
     return import_mangled<Args...>(boost::move(lib), name.c_str());