|
#pragma once
#include <boost/config.hpp> // for BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
#include <boost/preprocessor/cat.hpp>
// Note:
// Using-directive is beyond WORKAROUND_ADL.
// VC6's using-directive is somewhat broken.
#if !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
#define PSTADE_WORKAROUND_ADL_BARRIER_NAME(id) \
BOOST_PP_CAT(pstade_adl_barrier_of_, id) \
/**/
#define PSTADE_WORKAROUND_ADL_BARRIER_OPEN(id) \
namespace PSTADE_WORKAROUND_ADL_BARRIER_NAME(id) { } \
using namespace PSTADE_WORKAROUND_ADL_BARRIER_NAME(id); \
namespace PSTADE_WORKAROUND_ADL_BARRIER_NAME(id) { \
/**/
#define PSTADE_WORKAROUND_ADL_BARRIER_CLOSE(id) \
} \
/**/
#else
#define PSTADE_WORKAROUND_ADL_BARRIER_OPEN(id) \
/**/
#define PSTADE_WORKAROUND_ADL_BARRIER_CLOSE(id) \
/**/
#endif // !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here