short example: #include <boost/typeof/typeof.hpp> #include <boost/proto/core.hpp> using namespace boost;
I\'m trying to write mocks using amop. I\'m using Visual Studio 2008. I have this interface class: struct Interface {
I am using boost::any to have polymorphic types, I need to be able to cast an object to its base type.
If I have an object like this: struct Bar { std::string const& property(); }; I can create a multi-index container for it like this:
I have an abstract class in my dll. class IBase { protected: virtual ~IBase() = 0; public: virtual void f() = 0;
Trying to set up a dependency in C++ with a parent-child relationship. The parent contains the child and the child has a weak pointer to the parent.
I\'m a boost.build newby and while bjam is quite easy to use for most compiling tasks and I didn\'t figured out how to do something that should be really simple : installing my application in the syst
So, I\'ve been playing around with the Boost asio functions and sockets (specifically the async read/write).Now, I thought that boost::asio::async_read only called the handler when a new buffer came
boost::spirit asserts at boost::spirit::char_class::ascii::isalnum() when passing ascci characters > 127.
in a project we want to wrap the Boost Asio socket in a way, that the using class or the wrapping .h does not 开发者_开发百科have to include the boost headers.