forked from boostorg/fusion
Protected unused_type by an ADL barrier
[SVN r51654]
This commit is contained in:
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
#define BOOST_FUSION_UNUSED_HAS_IO
|
#define BOOST_FUSION_UNUSED_HAS_IO
|
||||||
|
|
||||||
namespace boost { namespace fusion
|
namespace fusion_adl_barrier
|
||||||
{
|
{
|
||||||
struct unused_type
|
struct unused_type
|
||||||
{
|
{
|
||||||
@ -56,6 +56,12 @@ namespace boost { namespace fusion
|
|||||||
};
|
};
|
||||||
|
|
||||||
unused_type const unused = unused_type();
|
unused_type const unused = unused_type();
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace boost { namespace fusion
|
||||||
|
{
|
||||||
|
using ::fusion_adl_barrier::unused_type;
|
||||||
|
using ::fusion_adl_barrier::unused;
|
||||||
|
|
||||||
template <typename Out>
|
template <typename Out>
|
||||||
inline Out& operator<<(Out& out, unused_type const&)
|
inline Out& operator<<(Out& out, unused_type const&)
|
||||||
|
Reference in New Issue
Block a user