Comments (3)
Oh, interesting!
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?
from functionalplus.
Adding fplus::
seems to do the trick, PR updated
from functionalplus.
Yay!
Thanks.
from functionalplus.
Related Issues (20)
- Clean install rules up? HOT 1
- Reconsider install location HOT 11
- implement either class HOT 2
- implement drop_last_while method HOT 2
- Unit tests always succeeding, even when breaking them on purpose HOT 5
- Consecutive build should only re-build changed files instead of all. (Circular build dependency in CMake setup?) HOT 2
- error: exception handling disabled, use β-fexceptionsβ to enable HOT 1
- keep_by_idx() returns list of empty elements. HOT 4
- Branch `master` will be renamed to `main` in November HOT 1
- 0.2.16-p0: Tests fail to build: "EQUAL" "1" Unknown arguments specified HOT 10
- Cannot compile with gcc 11.2 in C++20 mode HOT 3
- make c++ class function to c pointer HOT 7
- Add int overrides for (some) size_t params as a convenience for fplus::fwd? HOT 3
- fplus::compose with yet unknown output type HOT 3
- parallel_for ? (no, this is not the 1st of April ;-) HOT 3
- IO Monad HOT 5
- composition.hpp uses std::result_of HOT 5
- Function to print std::tuple HOT 5
- Some List Functions (in particular, fplus::transform etc.) do not work with custom container. What needs to be added? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from functionalplus.