mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-29 20:17:32 +02:00
Protected unused_type by an ADL barrier
[SVN r51654]
This commit is contained in:
@ -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