2012-08-15から1日間の記事一覧

Boost.TypeErasure でタスク処理

C++ タスク処理といえば、継承を使用した多態性で実装するのが一般的(だと思う)のですが、Boost.TypeErasure でちょっと実装してみました。 [ソース] #include <boost/type_erasure/builtin.hpp> #include <boost/type_erasure/operators.hpp> #include <boost/type_erasure/iterator.hpp> #include <boost/type_erasure/callable.hpp> #include <boost/type_erasure/any.hpp> #inclu…</boost/type_erasure/any.hpp></boost/type_erasure/callable.hpp></boost/type_erasure/iterator.hpp></boost/type_erasure/operators.hpp></boost/type_erasure/builtin.hpp>