We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6762278 commit 8ffc52bCopy full SHA for 8ffc52b
1 file changed
packages/react-native-executorch/common/rnexecutorch/utils/TypeConstraints.h
@@ -3,6 +3,9 @@
3
#include <concepts>
4
5
namespace rnexecutorch {
6
+
7
+// When i make BaseModel have all of this methods we can then just check from
8
+// is_base_of instead of doing this for every single method
9
template <typename T>
10
concept HasForward = requires(T t) {
11
{ &T::forward };
0 commit comments