タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

signalsに関するmEGGrimのブックマーク (1)

  • letsboost::signals

    abstract boost::signals2 という後継ライブラリがリリースされています 必要なヘッダ <boost/signal.hpp> 出来ること Signal/Slot リファレンス en sample #include <iostream> #include <boost/signal.hpp> using namespace std; void Dog(int c) { for(int i=0; i!=c; ++i) cout << "BowWow" << endl; } void Cat(int c) { for(int i=0; i!=c; ++i) cout << "Mewmew" << endl; } void Chicken(int c) { for(int i=0; i!=c; ++i) cout << "cock-a-doodle-doo" << endl;

  • 1