Comments (3)
Hi,
and thanks for the very detailed report. π
I can reproduce the problem with the following minimal Dockerfile (g++ 11.2 with C++20):
FROM gcc:11.2
RUN git clone -b 'v0.2.16-p0' --single-branch --depth 1 https://github.com/Dobiasd/FunctionalPlus
RUN echo '#include <fplus/fplus.hpp>' > main.cpp
RUN echo 'int main() {}' >> main.cpp
RUN g++ -I FunctionalPlus/include -std=c++14 main.cpp
RUN g++ -I FunctionalPlus/include -std=c++17 main.cpp
RUN g++ -I FunctionalPlus/include -std=c++20 main.cpp
Output of the last line:
In file included from FunctionalPlus/include/fplus/fplus.hpp:11,
from main.cpp:1:
FunctionalPlus/include/fplus/container_common.hpp:154:42: error: expected unqualified-id before 'const'
154 | array_back_insert_iterator<T, N>(const array_back_insert_iterator<T, N>& other) :
| ^~~~~
FunctionalPlus/include/fplus/container_common.hpp:154:42: error: expected ')' before 'const'
154 | array_back_insert_iterator<T, N>(const array_back_insert_iterator<T, N>& other) :
| ~^~~~~
| )
I'm now testing your suggested fix on a branch. The CI will automatically test it for a whole bunch of different compiler versions. π
from functionalplus.
Just released the new version v0.2.17-p0
that includes your fix. βοΈ
Thanks again for the good investigation and suggestion. π
from functionalplus.
Cool, you're welcome and thank you for implementing it!
from functionalplus.
Related Issues (20)
- 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
- 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
- Clang 16: incompatible initializer of type (container_common_test) HOT 3
- FunctionalPlus does not compile with C++20 (std::result_of was removed) HOT 3
- CI fails because of missing GLIBC HOT 8
- Conan packages of this library are often outdated HOT 1
- get for `variant` HOT 5
- fwd bind count for `just_with_default` HOT 1
- Methods directly on containers (e.g `maybe`) HOT 1
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.