|
Boost : |
Subject: Re: [boost] [signals2] missing Jamfile and compile errors with VC8
From: Michael Caisse (boost_at_[hidden])
Date: 2010-03-09 23:17:17
The errors in the examples are actual errors. See diff against trunk
below for fixes.
Also, I think signals2/signal.hpp should also include
shared_connection_block.hpp.
regards -
michael
Index: example/doc_view_acm.cpp
===================================================================
--- example/doc_view_acm.cpp (revision 60405)
+++ example/doc_view_acm.cpp (working copy)
@@ -23,7 +23,7 @@
typedef boost::signals2::signal<void ()> signal_t;
public:
- document()
+ Document()
{}
/* connect a slot to the signal which will be emitted whenever
@@ -39,7 +39,7 @@
m_sig();
}
- const std::string& gettext() const
+ const std::string& getText() const
{
return m_text;
}
Index: example/disconnect_and_block.cpp
===================================================================
--- example/disconnect_and_block.cpp (revision 60405)
+++ example/disconnect_and_block.cpp (working copy)
@@ -10,6 +10,7 @@
#include <iostream>
#include <boost/signals2/signal.hpp>
+#include <boost/signals2/shared_connection_block.hpp>
struct HelloWorld
{
-- ---------------------------------- Michael Caisse Object Modeling Designs www.objectmodelingdesigns.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk