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