/** * * \section COPYRIGHT * * Copyright 2013-2021 Software Radio Systems Limited * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the distribution. * */ #ifndef CPP_TESTS_INDEX_SEQUENCE_H #define CPP_TESTS_INDEX_SEQUENCE_H #include namespace srsran { template struct index_sequence {}; template struct index_sequence_helper : public index_sequence_helper {}; template struct index_sequence_helper<0U, Next...> { using type = index_sequence; }; template using make_index_sequence = typename index_sequence_helper::type; } // namespace srsran #endif // CPP_TESTS_INDEX_SEQUENCE_H