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
../../../include/cpp2util.h:2114:19: note: in instantiation of variable template specialization 'cpp2::is_narrowing_v' requested here
83
+
../../../include/cpp2util.h:2128:19: note: in instantiation of variable template specialization 'cpp2::is_narrowing_v' requested here
84
84
if constexpr (is_narrowing_v<C, CPP2_TYPEOF(x)>) {
85
85
^
86
86
pure2-expected-is-as.cpp2:39:22: note: in instantiation of function template specialization 'cpp2::as_<int, double (&)(double) noexcept>' requested here
87
87
auto val1 {cpp2::as_<int>(ex1)};
88
88
^
89
89
In file included from pure2-expected-is-as.cpp:7:
90
-
../../../include/cpp2util.h:1644:9: error: invalid application of 'sizeof' to a function type
90
+
../../../include/cpp2util.h:1249:9: error: invalid application of 'sizeof' to a function type
91
91
sizeof(CPP2_TYPEOF(x)) > sizeof(C)
92
92
^~~~~~~~~~~~~~~~~~~~~~
93
-
../../../include/cpp2util.h:2127:12: note: in instantiation of function template specialization 'cpp2::as<int, double (double) noexcept>' requested here
93
+
../../../include/cpp2util.h:2141:12: note: in instantiation of function template specialization 'cpp2::as<int, double (double) noexcept>' requested here
94
94
return as<C>(CPP2_FORWARD(x));
95
95
^
96
96
pure2-expected-is-as.cpp2:39:22: note: in instantiation of function template specialization 'cpp2::as_<int, double (&)(double) noexcept>' requested here
0 commit comments