leaf/test/visibility_test_lib.hpp

24 lines
657 B
C++

#ifndef VISIBILITY_TEST_LIB_HPP_INCLUDED
#define VISIBILITY_TEST_LIB_HPP_INCLUDED
// Copyright 2018-2024 Emil Dotchevski and Reverge Studios, Inc.
// 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)
#include <boost/config.hpp>
#include <iosfwd>
template <int Tag>
struct BOOST_SYMBOL_VISIBLE my_info
{
int value;
template <class CharT, class Traits>
friend std::ostream & operator<<( std::basic_ostream<CharT, Traits> & os, my_info const & x )
{
return os << "Test my_info<" << Tag << ">::value = " << x.value;
}
};
#endif