Closed offa closed 1 year ago
Oh, interesting! :monocle_face:
floor
is defined as follows:
template <typename X, typename Out = int>
Out floor(X x)
(and only once in namespace fplus
)
So, I guess, overloaded function type
means there is some other function with the same name.
Would it help to change from
const auto f = floor<double>
to
const auto f = fplus::floor<double>
?
In case it does not help, maybe explicitly set the Out
type like so:
const auto f = floor<double, int>
Would you like to test in the Clang 16 CI build MR or shall I?
Adding fplus::
seems to do the trick, PR updated :+1:
Yay! :tada:
Thanks. :+1:
Compilation of container_common_test.cpp fails on Clang 16:
Full build log is available on Clang 16 PR (#274).