]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/dll/import_class.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / dll / import_class.hpp
index 22c38770669c333bc7671856e42c81137bf9c054..bed0b19b3f9a907a66ac7ae3a83ee749638cec66 100644 (file)
@@ -1,4 +1,5 @@
 // Copyright 2015-2018 Klemens D. Morgenstern
+// Copyright 2019-2020 Antony Polukhin
 //
 // Distributed under the Boost Software License, Version 1.0.
 // (See accompanying file LICENSE_1_0.txt
@@ -7,10 +8,18 @@
 #ifndef BOOST_DLL_IMPORT_CLASS_HPP_
 #define BOOST_DLL_IMPORT_CLASS_HPP_
 
+/// \file boost/dll/import_class.hpp
+/// \warning Extremely experimental! Requires C++11! Will change in next version of Boost! boost/dll/import_class.hpp is not included in boost/dll.hpp
+/// \brief Contains the boost::dll::experimental::import_class function for importing classes.
+
 #include <boost/dll/smart_library.hpp>
 #include <boost/dll/import_mangled.hpp>
 #include <memory>
 
+#if (__cplusplus < 201103L) && (!defined(_MSVC_LANG) || _MSVC_LANG < 201103L)
+#  error This file requires C++11 at least!
+#endif
+
 #ifdef BOOST_HAS_PRAGMA_ONCE
 # pragma once
 #endif