File indexing completed on 2024-04-28 16:53:07

0001 /*
0002  *   SPDX-FileCopyrightText: 2017 Ivan Čukić <ivan.cukic(at)kde.org>
0003  *
0004  *   SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005  */
0006 
0007 #ifndef ASYNQT_CXXUTILS_P_H
0008 #define ASYNQT_CXXUTILS_P_H
0009 
0010 namespace AsynQt
0011 {
0012 namespace detail
0013 {
0014 // Some things we need to wait for... c++17
0015 
0016 template<int... Indices>
0017 struct index_sequence {
0018 };
0019 
0020 template<int N, int... Indices>
0021 struct make_index_sequence : make_index_sequence<N - 1, N - 1, Indices...> {
0022 };
0023 
0024 template<int... Indices>
0025 struct make_index_sequence<0, Indices...> : index_sequence<Indices...> {
0026 };
0027 
0028 } // namespace detail
0029 } // namespace AsynQt
0030 
0031 #endif // ASYNQT_CXXUTILS_P_H