2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-02-13 12:32:13 +00:00
Files
leaf/test/visibility_test_lib.hpp
2023-09-15 11:15:10 -07:00

25 lines
658 B
C++

#ifndef VISIBILITY_TEST_LIB_HPP_INCLUDED
#define VISIBILITY_TEST_LIB_HPP_INCLUDED
// Copyright 2018-2023 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