[Boost-bugs] [Boost C++ Libraries] #9250: ext/boost/bind/bind.hpp" line 70: Error: boost::_bi::F is not a namespace or class name

Subject: [Boost-bugs] [Boost C++ Libraries] #9250: ext/boost/bind/bind.hpp" line 70: Error: boost::_bi::F is not a namespace or class name
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-15 02:38:34


#9250: ext/boost/bind/bind.hpp" line 70: Error: boost::_bi::F is not a namespace
or class name
------------------------------+---------------------
 Reporter: anonymous | Owner: pdimov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: bind
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 Whilst compiling Phusion Passenger which is including the Boost 1.52
 header files.

 OS: Solaris 10 SPARC
 Compiler: Sun Studio 12.3


 {{{
 "ext/boost/bind/bind.hpp", line 70: Error: boost::_bi::F is not a
 namespace or class name.
 "ext/boost/bind/bind_template.hpp", line 15: Where: While specializing
 "boost::_bi::result_traits<boost::_bi::unspecified, extern "C"
 int(*)(DIR*)>".
 "ext/boost/bind/bind_template.hpp", line 15: Where: Specialized in
 boost::_bi::bind_t<boost::_bi::unspecified, extern "C" int(*)(DIR*),
 boost::_bi::list1<boost::_bi::value<DIR*>>>.
 "ext/common/ApplicationPool2/Spawner.h", line 250: Where: Specialized
 in non-template code.
 "ext/boost/bind/bind.hpp", line 70: Error: result_type is not defined.
 "ext/boost/bind/bind_template.hpp", line 15: Where: While specializing
 "boost::_bi::result_traits<boost::_bi::unspecified, extern "C"
 int(*)(DIR*)>".
 "ext/boost/bind/bind_template.hpp", line 15: Where: Specialized in
 boost::_bi::bind_t<boost::_bi::unspecified, extern "C" int(*)(DIR*),
 boost::_bi::list1<boost::_bi::value<DIR*>>>.
 }}}
 The code from bind.hpp:
 {{{
     66 struct unspecified {};
     67
     68 template<class F>
     69 struct result_traits<unspecified, F> {
     70 typedef typename F::result_type type;
     71 };
     72
     73 template<class F>
     74 struct result_traits<unspecified, reference_wrapper<F> > {
     75 typedef typename F::result_type type;
     76 };
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9250>
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:14 UTC