Classes | Functions
test_bss.cxx File Reference
#include <boost/signals2.hpp>
#include <iostream>

Go to the source code of this file.

Classes

struct  CountOutLoud
 

Functions

int main ()
 

Function Documentation

int main ( void  )

Definition at line 15 of file test_bss.cxx.

16 {
17  // Signal with no arguments and a void return value
18  boost::signals2::signal<void ()> sig;
19 
20  CountOutLoud col;
21  sig.connect(col);
22 
23  sig();
24  sig();
25  sig();
26 }