Comments (4)
Whenever you have a member that's a vector of T, you'll have to announce T as well:
announce<vector<double>>();
announce<VertexDescriptor>(&VertexDescriptor::id, &VertexDescriptor::spectra);
I will update announce_example_1 to cover this use case as well.
from actor-framework.
Excellent; thanks for the quick response! Announcing vector prior to the user defined type fixes the issue.
from actor-framework.
You're welcome. Have fun! :)
from actor-framework.
Update: you no longer have to announce vector<double>
for version 0.4.2. libcppa detects and correctly handles recursive containers now.
from actor-framework.
Related Issues (20)
- json_builder issue HOT 1
- Heap-use-after-free in blocking_actor test suite
- configuration options for length field of length prefix framing HOT 2
- Regression in caf::io::spawn_client HOT 2
- Fix log severity when disposing connection acceptors
- Investigate frequent failures of caf-robot-stream-octet
- Investigate tests not running in some distros
- "http/client" example does not dispose of the connections after completing request
- Why is my request from a scoped_actor timing out when using the deterministic fixture? HOT 3
- Doxygen: much of the documentation has seemingly vanished HOT 6
- Websocket client closes the connection HOT 2
- Build errors with clang using c++23
- Crash in `run_actions` when calling `quit`
- Proposal: equivalent to `caf::json*` but for XML? HOT 5
- Possible bug/issue with flow_bridge_base::prepare_send() HOT 3
- Cannot run recent examples with vcpkg package HOT 2
- How to encapsulate a calculator to only provide a C function interface? HOT 3
- More broken Doxygen output
- print.hpp: Control characters not escaped correctly HOT 7
- missing close-frame when shutting down websocket server 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 actor-framework.