123456789101112131415161718192021222324252627282930313233343536 |
- // Copyright Takatoshi Kondo 2016
- //
- // 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)
- #if !defined(MQTT_ANY_HPP)
- #define MQTT_ANY_HPP
- #include <mqtt/namespace.hpp>
- #ifdef MQTT_STD_ANY
- #include <any>
- namespace MQTT_NS {
- using std::any;
- using std::any_cast;
- } // namespace MQTT_NS
- #else // MQTT_STD_ANY
- #include <boost/any.hpp>
- namespace MQTT_NS {
- using boost::any;
- using boost::any_cast;
- } // namespace MQTT_NS
- #endif // !defined(MQTT_STD_ANY)
- #endif // MQTT_ANY_HPP
|