[Boost-bugs] [Boost C++ Libraries] #11817: 'sync_queue_is_closed' was not declared in boost/thread/executors/thread_executor.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #11817: 'sync_queue_is_closed' was not declared in boost/thread/executors/thread_executor.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-24 05:32:29


#11817: 'sync_queue_is_closed' was not declared in
boost/thread/executors/thread_executor.hpp
--------------------------------------------+----------------------
 Reporter: Xiaoshuang LU <luxiaoshuang@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.60.0 | Severity: Problem
 Keywords: |
--------------------------------------------+----------------------
 boost-1.59.0/include/boost/thread/executors/thread_executor.hpp: In member
 function 'void boost::executors::thread_executor::submit(void (*)())':
 boost-1.59.0/include/boost/thread/executors/thread_executor.hpp:122:68:
 error: 'sync_queue_is_closed' was not declared in this scope
        if (closed(lk)) BOOST_THROW_EXCEPTION( sync_queue_is_closed() );
                                                                     ^
 boost-1.59.0/include/boost/thread/executors/thread_executor.hpp: In member
 function 'void boost::executors::thread_executor::submit(Closure&&)':
 boost-1.59.0/include/boost/thread/executors/thread_executor.hpp:132:68:
 error: there are no arguments to 'sync_queue_is_closed' that depend on a
 template parameter, so a declaration of 'sync_queue_is_closed' must be
 available [-fpermissive]
        if (closed(lk)) BOOST_THROW_EXCEPTION( sync_queue_is_closed() );

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11817>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC