Comments (3)
doesn't "otherwise, calls *this = {}" recurse?
It does (calls move assignment op, recursively). This used to be defined as *this = nullvariant
, and got ruined when I removed nullvariant
altogether. Will revise.
from variant.
Fixed by 992d696
from variant.
Thanks.
from variant.
Related Issues (20)
- Allow recursive variants to be defined HOT 5
- Does not compile with GCC 4.9 HOT 3
- Visitation HOT 2
- support for recursive_wrapper HOT 11
- variant<...> is not a literal type HOT 2
- CMake build fails with unsupported language features. HOT 8
- Visiting eggs::variant differently reduce seriously binary size HOT 3
- Create debugger visualiser for eggs::variant HOT 7
- Alternative to bad_variant_access HOT 2
- Heterogenous multi-visitation ? HOT 5
- Dispatching triviality of copy/move-construction/assignment all together HOT 5
- Provide a prefix for options defined in CMakeLists.txt HOT 2
- Mitigating combinatorial explosion when only a few types in the variant benefit from movability HOT 4
- Drop support for C++11 HOT 8
- Implement get_if overloads (was: No compile error with invalid call to target) HOT 6
- Failure with MSVC2017's /permissive- switch HOT 3
- Compiling error VS 2015 Update 3 HOT 13
- Lambda example? HOT 4
- Internal compiler error HOT 5
- The use of nested use of npos is cumbersome 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 variant.