Comments (8)
You mean /permissive-
?
from rx-ranges.
Yes
from rx-ranges.
I'm confused: Does it work with or without /permissive-
? We build the tests and benchmarks with /permissive-
, and I would be rather surprised to see something compile in non-permissive mode that does compile in permissive mode. Still, would not be the first time MSVC surprised me...
@tkozybski Can you check if this is still a problem in the version 2.0 branch (#10)?
from rx-ranges.
I'm confused: Does it work with or without
/permissive-
? We build the tests and benchmarks with/permissive-
, and I would be rather surprised to see something compile in non-permissive mode that does compile in permissive mode. Still, would not be the first time MSVC surprised me...@tkozybski Can you check if this is still a problem in the version 2.0 branch (#10)?
@simonask IIt doesn't compile if Conformance Mode is set to "No", with 2.0 as well. It does compile with VS2019 though (platform toolset v142, doesn't work on v141).
from rx-ranges.
Ah, now I see. I'll take a look at it. :-)
from rx-ranges.
Ok, the issue seems to be that VS2017 does not parse C++17 fold expressions correctly. Microsoft claims that the latest versions of VS2017 had a number of bugs fixed related to fold expressions, but apparently not enough, which is unfortunate.
@tkozybski Is using VS2019 not an option for you?
I am closing this for now, since supporting buggy compilers is not a goal.
from rx-ranges.
It fails without that mode too: https://godbolt.org/z/N8T5n5
@tkozybski Is using VS2019 not an option for you?
Yep, since they are binary compatible there's no good reason not to.
from rx-ranges.
Version 2.0 works in MSVC 19.20 and higher: https://godbolt.org/z/ryyBvJ
from rx-ranges.
Related Issues (10)
- transform is called twice on transform+filter HOT 2
- Why is uniq a sink? HOT 1
- Complete exception safety and noexcept hygiene
- missing include <stdexcept> HOT 4
- Make months in calendar constexpr HOT 2
- Remove default-constructibility requirement in ChainRange HOT 4
- Test constexpr compatibility for all combinators
- RFE: string extension - split, strip, join HOT 4
- First doesn't work after sort HOT 2
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 rx-ranges.