has_key_impl.hpp 856 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef BOOST_MPL_AUX_HAS_KEY_IMPL_HPP_INCLUDED
  2. #define BOOST_MPL_AUX_HAS_KEY_IMPL_HPP_INCLUDED
  3. // Copyright Aleksey Gurtovoy 2002-2004
  4. // Copyright David Abrahams 2003
  5. //
  6. // Distributed under the Boost Software License, Version 1.0.
  7. // (See accompanying file LICENSE_1_0.txt or copy at
  8. // http://www.boost.org/LICENSE_1_0.txt)
  9. //
  10. // See http://www.boost.org/libs/mpl for documentation.
  11. // $Id$
  12. // $Date$
  13. // $Revision$
  14. #include <boost/mpl/has_key_fwd.hpp>
  15. #include <boost/mpl/aux_/traits_lambda_spec.hpp>
  16. namespace boost { namespace mpl {
  17. // no default implementation; the definition is needed to make MSVC happy
  18. template< typename Tag > struct has_key_impl
  19. {
  20. template< typename AssociativeSequence, typename Key > struct apply;
  21. };
  22. BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC(2,has_key_impl)
  23. }}
  24. #endif // BOOST_MPL_AUX_HAS_KEY_IMPL_HPP_INCLUDED