@@ -800,7 +800,7 @@ template <class T>
800
800
ARGO_ALWAYS_INLINE constexpr auto SubParserInfo (T subparsers) {
801
801
std::vector<SubCommandInfo> ret{};
802
802
if constexpr (!std::is_same_v<T, std::tuple<>>) {
803
- apply (
803
+ std:: apply (
804
804
[&ret]<class ... Parser>(Parser... parser) ARGO_ALWAYS_INLINE {
805
805
(..., ret.emplace_back (parser.name .getKey (), parser.description ));
806
806
},
@@ -831,7 +831,7 @@ ARGO_ALWAYS_INLINE constexpr auto GetkeyFromShortKey(char key)
831
831
return false ;
832
832
}() || ...);
833
833
}(make_type_sequence_t <Arguments>())) [[likely]] {
834
- return make_tuple (name, is_flag);
834
+ return std:: make_tuple (name, is_flag);
835
835
}
836
836
throw ParserInternalError (" Fail to lookup" );
837
837
}
@@ -919,7 +919,7 @@ ARGO_ALWAYS_INLINE constexpr auto TupleAssign(
919
919
std::tuple<T...>& t, const std::span<std::string_view>& v,
920
920
std::index_sequence<N...> /* unused */ , const std::string_view& key)
921
921
-> void {
922
- ((get<N>(t) = ArgCaster<std::remove_cvref_t <decltype (get<N>(t))>>(v[N], key)),
922
+ ((std:: get<N>(t) = ArgCaster<std::remove_cvref_t <decltype (get<N>(t))>>(v[N], key)),
923
923
...);
924
924
}
925
925
@@ -1181,7 +1181,7 @@ template <class SubParsers>
1181
1181
requires (is_tuple_v<SubParsers>)
1182
1182
ARGO_ALWAYS_INLINE constexpr auto MetaParse (SubParsers sub_parsers, int index,
1183
1183
int argc, char ** argv) -> bool {
1184
- return apply (
1184
+ return std:: apply (
1185
1185
[&](auto &&... s) ARGO_ALWAYS_INLINE {
1186
1186
std::int64_t idx = -1 ;
1187
1187
return (... || (idx++, idx == index &&
@@ -1195,7 +1195,7 @@ template <class SubParsers>
1195
1195
ARGO_ALWAYS_INLINE constexpr auto ParserIndex (SubParsers sub_parsers, //
1196
1196
std::string_view key)
1197
1197
-> std::int64_t {
1198
- return apply (
1198
+ return std:: apply (
1199
1199
[&](auto &&... s) ARGO_ALWAYS_INLINE {
1200
1200
std::int64_t index = -1 ;
1201
1201
bool found = (... || (index ++, s.name .getKey () == key));
@@ -1458,12 +1458,12 @@ class Parser {
1458
1458
} else {
1459
1459
static_assert (SearchIndex<Args, Name>() != -1 ,
1460
1460
" Argument does not exist" );
1461
- return std::remove_cvref_t <decltype (get<SearchIndex<Args, Name>()>(
1461
+ return std::remove_cvref_t <decltype (std:: get<SearchIndex<Args, Name>()>(
1462
1462
std::declval<Args>()))>::value;
1463
1463
}
1464
1464
} else {
1465
1465
static_assert (SearchIndex<Args, Name>() != -1 , " Argument does not exist" );
1466
- return std::remove_cvref_t <decltype (get<SearchIndex<Args, Name>()>(
1466
+ return std::remove_cvref_t <decltype (std:: get<SearchIndex<Args, Name>()>(
1467
1467
std::declval<Args>()))>::value;
1468
1468
}
1469
1469
}
@@ -1475,7 +1475,7 @@ class Parser {
1475
1475
}
1476
1476
static_assert (!(SearchIndex<SubParsers, Name>() == -1 ),
1477
1477
" Could not find subparser" );
1478
- return get<SearchIndex<SubParsers, Name>()>(subParsers).parser .get ();
1478
+ return std:: get<SearchIndex<SubParsers, Name>()>(subParsers).parser .get ();
1479
1479
}
1480
1480
1481
1481
template <ArgName Name>
@@ -1499,7 +1499,7 @@ class Parser {
1499
1499
template <ArgName Name, class T >
1500
1500
ARGO_ALWAYS_INLINE constexpr auto addParser (T& sub_parser,
1501
1501
Description description = {" " }) {
1502
- auto s = make_tuple (
1502
+ auto s = std:: make_tuple (
1503
1503
SubParser<Name, T>{ref (sub_parser), description.description });
1504
1504
auto sub_parsers = std::tuple_cat (subParsers, s);
1505
1505
return Parser<ID, Args, PArgs, HArg, decltype (sub_parsers)>(
0 commit comments