Comments (2)
Update: The weird thing here is that the to_string
instantiation with usage of operator<<
triggers a Value<T>
instantiation in turn, which will then fail.
I found out that this can be avoided if I define a operator<<
for the actual wrapped class, i.e. in examples/Bar.hpp
I additionally add the line:
std::ostream& operator<<(std::ostream& os, const Bar& value);
and then it actually compiles fine. So the issue can be fixed on the user side already, and maybe this just needs to be documented well enough. (Still weird as for why the Value<T>
instantiation is triggered...)
from vrpc-js.
Branch bugfix/22-trying-to-wrap-a-c-class-that-is-non-copyable-will-fail-to-compile-unless-a-operator-is-defined-for-the-class-too created!
from vrpc-js.
Related Issues (20)
- When embedding C++ code provide a possibility to execute the client call asynchronously
- Missing error event when agent fails to connect HOT 1
- Attaching to instances won't reliable work when using many agents HOT 1
- Add actual code to all examples and integrate them to testing pipeline HOT 1
- VrpcLocal callback stops working after a second instance have been created HOT 1
- Allow the remote client to unregister an offline agent HOT 1
- Remove the domain inconsistency in the VrpcRemote API HOT 1
- Dynamic `require` in VrpcAdapter.js breaks webpack 5 HOT 4
- Fix VrpcRemote documentation/behaviour
- C++ compile failure on addon with vrpc 2.4.0 HOT 1
- "Random" ProxyId runs into collisions on 'state' event emitters HOT 4
- Broken links in README HOT 1
- Inject clear information about instance-, proxy- and client id into the proxy instance HOT 1
- Instances: conceptually move from "named" and "anonymous" to "shared" and "isolated" modes HOT 1
- Exceptions on a VrpcLocal callback cause process crash HOT 3
- is it possible to implement this with custom MQTT Server? HOT 1
- Add possibility to set a custom MQTT client Id in VrpcAgent HOT 3
- Missing error handling of failed MQTT subscribes HOT 1
- Provide Adapter and Agent for browsers as well 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 vrpc-js.