We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e9b92a commit a8c042bCopy full SHA for a8c042b
include/stdsharp/functional/fp.h
@@ -0,0 +1,23 @@
1
+#pragma once
2
+
3
+#include "invocables.h"
4
5
+#include "../compilation_config_in.h"
6
7
+namespace stdsharp::fp
8
+{
9
+ template<typename... Fn>
10
+ class function
11
+ {
12
+ private:
13
+ invocables<Fn...> fn_;
14
15
+ template<std::size_t Layer, typename... Args>
16
+ constexpr decltype(auto) impl(Args&&... args) const
17
18
+ return invoke_at<Layer>(fn_, cpp_forward(args)...);
19
+ }
20
+ };
21
+}
22
23
+#include "../compilation_config_out.h"
include/stdsharp/type_traits/indexed_traits.h
@@ -1,3 +1,5 @@
+ // TODO: __cpp_pack_indexing >= 202311L
#pragma once
#include "core_traits.h"
0 commit comments