Re: [Boost-bugs] [Boost C++ Libraries] #7061: xcode 4.5 does not compile code which uses boost::statechart

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7061: xcode 4.5 does not compile code which uses boost::statechart
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-31 10:06:48


#7061: xcode 4.5 does not compile code which uses boost::statechart
--------------------------------------+-------------------------------------
  Reporter: bychkov.anton@… | Owner: andreas_huber69
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: statechart
   Version: Boost 1.50.0 | Severity: Showstopper
Resolution: | Keywords:
--------------------------------------+-------------------------------------

Comment (by Anton Bychkov <bychkov.anton@…>):

 JFYI, I have tracked down boost src code to this:

 {{{
 #include <list>

 template <class Alloc> class leaf;

 template<class Alloc>
 class base
 {
 public:
     typedef std::list<leaf<Alloc>> list_type;
     void remove(typename list_type::iterator & stateEnd) {};
 };

 template <class Alloc>
 class leaf : public base<Alloc>
 {
 };

 class Null {};
 typedef base<Null>::list_type list_type;

 int main(int argc, const char * argv[])
 {
     return 0;
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7061#comment:4>
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:10 UTC