-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move is_distributed_vector<T> to separate header
- Loading branch information
Showing
4 changed files
with
51 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
include/boost/compute/distributed/detail/is_distributed_vector.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2016 Jakub Szuppe <[email protected]> | ||
// | ||
// 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_DISTRIBUTED_DETAIL_IS_DISTRIBUTED_VECTOR_HPP | ||
#define BOOST_COMPUTE_DISTRIBUTED_DETAIL_IS_DISTRIBUTED_VECTOR_HPP | ||
|
||
|
||
#include <boost/type_traits/integral_constant.hpp> | ||
|
||
namespace boost { | ||
namespace compute { | ||
namespace distributed { | ||
|
||
namespace detail { | ||
|
||
template<class T> | ||
struct is_distributed_vector : boost::false_type {}; | ||
|
||
template<class T> | ||
struct is_distributed_vector<const T> : is_distributed_vector<T> {}; | ||
|
||
} // end detail namespace | ||
|
||
} // end distributed namespace | ||
} // end compute namespace | ||
} // end boost namespace | ||
|
||
#endif /* BOOST_COMPUTE_DISTRIBUTED_DETAIL_IS_DISTRIBUTED_VECTOR_HPP */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters