You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Examples/test-suite/cpp17_enable_if_t.i
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,48 @@ template <typename A, typename B, std::enable_if_t<(std::is_integral_v<A> and st
32
32
33
33
voidtester() {
34
34
enableif5<int, int>(10, 20);
35
+
enableif5(10, 20);
35
36
}
36
37
%}
37
38
38
39
// non-type template parameters working well in SWIG, below is a simple workaround as the 3rd parameter is defaulted for enable_if_t (which is just SFINAE to give a nice C++ compiler error)
0 commit comments