#if !defined(BOOST_SPIRIT_X3_UNUSED_APRIL_16_2006_0616PM)
#define BOOST_SPIRIT_X3_UNUSED_APRIL_16_2006_0616PM
-#include <ostream>
-#include <istream>
-#include <boost/mpl/identity.hpp>
-
-#if defined(BOOST_MSVC)
-# pragma warning(push)
-# pragma warning(disable: 4522) // multiple assignment operators specified warning
-#endif
+#include <iosfwd>
///////////////////////////////////////////////////////////////////////////////
namespace boost { namespace spirit { namespace x3
{
struct unused_type
{
- unused_type()
- {
- }
+ unused_type() = default;
template <typename T>
unused_type(T const&)
return *this;
}
- unused_type const&
- operator=(unused_type const&) const
- {
- return *this;
- }
-
- unused_type&
- operator=(unused_type const&)
- {
- return *this;
- }
-
// unused_type can also masquerade as an empty context (see context.hpp)
template <typename ID>
}
}}}
-#if defined(BOOST_MSVC)
-# pragma warning(pop)
-#endif
-
#endif