dont_care.hpp 751 B

12345678910111213141516171819202122232425
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // dont_care.hpp
  3. //
  4. // Copyright 2008 Eric Niebler. Distributed under the Boost
  5. // Software License, Version 1.0. (See accompanying file
  6. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. #ifndef BOOST_XPRESSIVE_DETAIL_UTILITY_DONT_CARE_HPP_EAN_10_04_2005
  8. #define BOOST_XPRESSIVE_DETAIL_UTILITY_DONT_CARE_HPP_EAN_10_04_2005
  9. namespace boost { namespace xpressive { namespace detail
  10. {
  11. ///////////////////////////////////////////////////////////////////////////////
  12. // for function arguments we don't care about
  13. struct dont_care
  14. {
  15. dont_care() {}
  16. template<typename T>
  17. dont_care(T const &) {}
  18. };
  19. }}}
  20. #endif