Boost logo

Boost Users :

Subject: Re: [Boost-users] error: 'function' in namespace 'boost' does not name a template type
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-07-28 00:16:14


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<bool (const uint32_t, const
> std::shared_ptr<boost::asio::streambuf> &)> Subscriber_t;
>

Did you #include boost/function.hpp?

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net