File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3
3
#include " Argo/ArgoMacros.hh"
4
4
5
5
export module Argo:MetaParse;
6
+
6
7
import :std_module;
7
8
import :Arg;
8
9
import :TypeTraits;
@@ -23,7 +24,7 @@ template <class SubParsers>
23
24
requires (is_tuple_v<SubParsers>)
24
25
ARGO_ALWAYS_INLINE constexpr auto MetaParse (SubParsers sub_parsers, int index,
25
26
int argc, char ** argv) -> bool {
26
- return apply (
27
+ return std:: apply (
27
28
[&](auto &&... s) ARGO_ALWAYS_INLINE {
28
29
std::int64_t idx = -1 ;
29
30
return (... || (idx++, idx == index &&
@@ -37,7 +38,7 @@ template <class SubParsers>
37
38
ARGO_ALWAYS_INLINE constexpr auto ParserIndex (SubParsers sub_parsers, //
38
39
std::string_view key)
39
40
-> std::int64_t {
40
- return apply (
41
+ return std:: apply (
41
42
[&](auto &&... s) ARGO_ALWAYS_INLINE {
42
43
std::int64_t index = -1 ;
43
44
bool found = (... || (index ++, s.name .getKey () == key));
You can’t perform that action at this time.
0 commit comments