Tag Archives: boost

Eric Niebler: out parameters, move semantics, and stateful algorithms

Eric Niebler: out parameters, move semantics, and stateful algorithms This post from Eric, inspired by a prompt from Andrei Alexcandrescu, examines the interface of std::getline appraising its usability and performance. Eric looks at a few different designs, in particular those … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Boost compile error “no class template named â€˜result’”

I’ve just come across a compiler error resulting from using boost::result_of with a C++11 lambda. I wasn’t actually using boost::result_of directly, but provided a lambda as the transforming functor for a boost::transform_iterator, which uses it behind the scenes. Here’s a … Continue reading

Posted in Uncategorized | Tagged , , , | 1 Comment

On creating an asynchronous message-based c++ framework; part 2

This is the second post in a series on the creation of an asynchronous message-based C++ application framework. In part 1 I discussed my approach to defining the type for an object that has a set of observers, and finished … Continue reading

Posted in Uncategorized | Tagged , , | 3 Comments

On creating an asynchronous message-based c++ framework; part 1

This is the first post in a series on the creation of an asynchronous message-based C++ application framework. The series will in particular show the use of several parts of the excellent Boost C++ libraries to achieve this, and the … Continue reading

Posted in Uncategorized | Tagged , , | 8 Comments