Webの未来 〜 PNaClとasm.jsでカワルミライ - いま、モバイルWebの先端で起こっていること
Webの未来 〜 PNaClとasm.jsでカワルミライ - いま、モバイルWebの先端で起こっていること
Boost 1.43.0から入ったFunctional/Factoryは、ユーザーコードではどういったときに使うのかと思っていたら、bindと組み合わせてコンストラクタの部分評価に使えそうです。 こんな感じ。 #include <boost/functional/value_factory.hpp> #include <boost/bind.hpp> #include <boost/function.hpp> #include <boost/assert.hpp> struct Point { int x, y; Point(int x_, int y_) : x(x_), y(y_) {} }; int main() { boost::function<Point(int)> f = boost::bind(boost::value_factory<Point>(), 3, _1); c
This is an older version of Boost and was released in 2013. The current version is 1.90.0. Using incomplete classes for implementation hiding The "Pimpl" idiom Using abstract classes for implementation hiding Preventing delete px.get() Using a shared_ptr to hold a pointer to an array Encapsulating allocation details, wrapping factory functions Using a shared_ptr to hold a pointer to a statically a
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く