is_buffer_iterator.hpp 960 B

123456789101112131415161718192021222324252627282930
  1. //---------------------------------------------------------------------------//
  2. // Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com>
  3. //
  4. // Distributed under the Boost Software License, Version 1.0
  5. // See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt
  7. //
  8. // See http://boostorg.github.com/compute for more information.
  9. //---------------------------------------------------------------------------//
  10. #ifndef BOOST_COMPUTE_DETAIL_IS_BUFFER_ITERATOR_HPP
  11. #define BOOST_COMPUTE_DETAIL_IS_BUFFER_ITERATOR_HPP
  12. #include <boost/config.hpp>
  13. #include <boost/type_traits.hpp>
  14. #include <boost/utility/enable_if.hpp>
  15. namespace boost {
  16. namespace compute {
  17. namespace detail {
  18. // default = false
  19. template<class Iterator, class Enable = void>
  20. struct is_buffer_iterator : public boost::false_type {};
  21. } // end detail namespace
  22. } // end compute namespace
  23. } // end boost namespace
  24. #endif // BOOST_COMPUTE_DETAIL_IS_BUFFER_ITERATOR_HPP