| 1 | #ifndef VISIBILITY_TEST_LIB_HPP_INCLUDED |
| 2 | #define VISIBILITY_TEST_LIB_HPP_INCLUDED |
| 3 | |
| 4 | // Copyright 2018-2023 Emil Dotchevski and Reverge Studios, Inc. |
| 5 | |
| 6 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 7 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 8 | |
| 9 | #include <boost/config.hpp> |
| 10 | #include <iosfwd> |
| 11 | |
| 12 | template <int Tag> |
| 13 | struct BOOST_SYMBOL_VISIBLE my_info |
| 14 | { |
| 15 | int value; |
| 16 | |
| 17 | template <class CharT, class Traits> |
| 18 | friend std::ostream & operator<<( std::basic_ostream<CharT, Traits> & os, my_info const & x ) |
| 19 | { |
| 20 | return os << "Test my_info<" << Tag << ">::value = " << x.value; |
| 21 | } |
| 22 | }; |
| 23 | |
| 24 | #endif |
| 25 | |