1// Copyright Antony Polukhin, 2021-2023.
2//
3// Distributed under the Boost Software License, Version 1.0. (See
4// accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt)
6
7#ifndef BOOST_ANY_ANYS_DETAIL_PLACEHOLDER_HPP
8#define BOOST_ANY_ANYS_DETAIL_PLACEHOLDER_HPP
9
10#include <boost/config.hpp>
11#ifdef BOOST_HAS_PRAGMA_ONCE
12# pragma once
13#endif
14
15#include <boost/type_index.hpp>
16
17/// @cond
18namespace boost {
19namespace anys {
20namespace detail {
21
22class BOOST_SYMBOL_VISIBLE placeholder {
23public:
24 virtual ~placeholder() {}
25 virtual const boost::typeindex::type_info& type() const BOOST_NOEXCEPT = 0;
26};
27
28} // namespace detail
29} // namespace anys
30} // namespace boost
31/// @endcond
32
33#endif // #ifndef BOOST_ANY_ANYS_DETAIL_PLACEHOLDER_HPP
34