Is it easy to figure out if I'll hit those conditions? Or are they sprinkled all around? I simply want to send messages through shared memory. I would like to do it with some type safety. The messages would be structs like so: struct Start {...}; struct Stop {...}; typedef boost::variant < Start, Stop
Message;
Would raw pointers come into play? Would it depend on the contents of the
structs?
---
Aaron Wright
From: Steven Watanabe
El 03/04/2012 23:37, Aaron_Wright@selinc.com escribió:
Hmmm. I was almost thinking the same thing, but I was hoping there was something I was missing.
What about boost::variant? Can I stuff that into a queue in shared memory?
I don't know boost::variant internals, but if it does not use any virtual function, it could be a choice.
boost::variant doesn't use virtual functions, *but* under some conditions it can store a raw pointer which is also a problem for interprocess. In Christ, Steven Watanabe _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users