diff options
Diffstat (limited to 'boost/compute/detail/is_buffer_iterator.hpp')
-rw-r--r-- | boost/compute/detail/is_buffer_iterator.hpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/boost/compute/detail/is_buffer_iterator.hpp b/boost/compute/detail/is_buffer_iterator.hpp new file mode 100644 index 0000000000..c0caa050d6 --- /dev/null +++ b/boost/compute/detail/is_buffer_iterator.hpp @@ -0,0 +1,30 @@ +//---------------------------------------------------------------------------// +// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com> +// +// Distributed under the Boost Software License, Version 1.0 +// See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt +// +// See http://boostorg.github.com/compute for more information. +//---------------------------------------------------------------------------// + +#ifndef BOOST_COMPUTE_DETAIL_IS_BUFFER_ITERATOR_HPP +#define BOOST_COMPUTE_DETAIL_IS_BUFFER_ITERATOR_HPP + +#include <boost/config.hpp> +#include <boost/type_traits.hpp> +#include <boost/utility/enable_if.hpp> + +namespace boost { +namespace compute { +namespace detail { + +// default = false +template<class Iterator, class Enable = void> +struct is_buffer_iterator : public boost::false_type {}; + +} // end detail namespace +} // end compute namespace +} // end boost namespace + +#endif // BOOST_COMPUTE_DETAIL_IS_BUFFER_ITERATOR_HPP |