Comments (3)
My guess is that YOMM2 is intended for value semantics (which are preferred in general).
I will leave the explanation of the specific error to @jll63 since I still don't understand yomm well enough.
From the example it is not clear that pointer semantics are needed. Might this be a classical XY problem? Why don't you just pass a reference instead?
Not sure if I am being helpful :D
from yomm2.
This is indeed a bug. I just pushed a fix. Thanks for the report.
from yomm2.
compiler version
Microsoft (R) C/C++ Optimizing Compiler Version 19.26.28806 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
from yomm2.
Related Issues (20)
- Rvalue parameters HOT 2
- Boost 1.53 compatibility HOT 4
- Comma inside declare_method HOT 3
- Missing include HOT 1
- Issues with Debug build of depending library (due to recent changes) HOT 1
- excellent work! HOT 1
- Segfault during benchmark [v1.1.2] HOT 3
- Support for method templates (in declarations and in definitions). HOT 12
- Possibly missing include in header? HOT 3
- Dispatch table generation? HOT 7
- Dispatch on arbitrary values HOT 4
- specializing on `shared_ptr<Animal> const&` doesn't work for me. HOT 14
- Template support? HOT 2
- Duplicated definitions lead to dangerous error HOT 1
- update_methods segfault if I forget a register_class HOT 12
- Question: am I able to pass non-virtual parameter to method definition? HOT 1
- error in runtime destructor HOT 15
- Friendship with multi-methods HOT 19
- CMake warning related to policy CMP0048 HOT 3
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 yomm2.