Comments (2)
Likely a bug, but per your pull request discussion let me first check changing the conversion operator doesn't break other use-cases. In general, var<T> and var<T&> are conceptually 2 different patterns: they are implemented as partial specialization to not have users remember too many pattern names, but semantically they have differences and not all tricks I can use in one implementation are applicable to the other.
from mach7.
Should be working now.
from mach7.
Related Issues (20)
- Replace memberN with generic equivalent
- support mail address not valid HOT 2
- No compile time complaint where there should be one HOT 12
- [Proposal] Trimmed down version of mach7 for educational purposes
- [maybe bug] Nested matching always chooses first case HOT 4
- Compile time performance HOT 2
- Compile time error with if Members macro gets more than 10 arguments HOT 8
- Constructor pattern limited to at most 4 arguments? HOT 2
- Problem with std::unique_ptr HOT 2
- Deconstructing a variant containing a struct is broken HOT 2
- Nested patterns and scalars HOT 1
- [Segfault] when binding `var<vector<type *>>` to class member of the same type HOT 1
- [Question] Reader/Writer Locks HOT 13
- Boost variant adaptor is broken: which() may return 0 HOT 5
- Mixing polymorphism and templates. HOT 3
- Case macro using C++17 structured bindings. HOT 3
- [maybe bug] Subtype Dynamic Cast failing inexplicably. HOT 3
- Stand-alone with C++17 std library, no boost HOT 7
- `#define dynamic_cast xtl::subtype_dynamic_cast` pollutes including files HOT 2
- iprutils.hpp is not available 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 mach7.