|
Boost : |
From: Christian Körber (koerber_at_[hidden])
Date: 2003-05-13 06:29:36
Hi there,
I'm new to the list and to boost itself.
I'm basically interested in Signals, but
can't get even get the Hello example
to work, shame on me.
The following gives me unresolved symbol
linker errors as well as the acceptance program
dead_slot_test.cpp
#include "stdafx.h"
#include <boost/signal.hpp>
#include <boost/bind.hpp>
#include <iostream>
using namespace std;
struct HelloWorld
{
void operator()() const
{
std::cout << "Hello, World!" << std::endl;
}
};
int _tmain(int argc, _TCHAR* argv[])
{
boost::signal0<void> sig;
HelloWorld hello;
sig.connect(hello);
sig();
}
Any suggestion/help would be appreciated.
Christian
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk