error: 'function' in namespace 'boost' does not name a template type

27 Jul
2017
27 Jul
'17
11:59 p.m.
Hi,
Cannot I define a following boost function? Any workarounds?
typedef boost::function

1:16 a.m.
Thank you, it was my fault On Fri, Jul 28, 2017 at 10:16 AM, Steven Watanabe via Boost-users < boost-users@lists.boost.org> wrote:
AMDG
On 07/27/2017 05:59 PM, jupiter via Boost-users wrote:
Cannot I define a following boost function? Any workarounds?
typedef boost::function
boost::asio::streambuf &)> Subscriber_t; Did you #include boost/function.hpp?
In Christ, Steven Watanabe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
2767
Age (days ago)
2768
Last active (days ago)
2 comments
2 participants
participants (2)
-
jupiter
-
Steven Watanabe