/**************************************************************************** * Copyright (c) 2023 by the ArborX authors * * All rights reserved. * * * * This file is part of the ArborX library. ArborX is * * distributed under a BSD 3-clause license. For the licensing terms see * * the LICENSE file in the top-level directory. * * * * SPDX-License-Identifier: BSD-3-Clause * ****************************************************************************/ #ifndef ARBORX_PAIR_VALUE_INDEX_HPP #define ARBORX_PAIR_VALUE_INDEX_HPP #include #include namespace ArborX { template struct PairValueIndex { static_assert(std::is_integral_v); using value_type = Value; using index_type = Index; Value value; Index index; }; namespace Details { template struct is_pair_value_index : public std::false_type {}; template struct is_pair_value_index> : public std::true_type {}; template inline constexpr bool is_pair_value_index_v = is_pair_value_index::value; } // namespace Details } // namespace ArborX #endif