Re: [Boost-bugs] [Boost C++ Libraries] #2864: Compilation error if container definition is inside of linked class

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2864: Compilation error if container definition is inside of linked class
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-03-20 21:40:44


#2864: Compilation error if container definition is inside of linked class
--------------------------------+-------------------------------------------
  Reporter: d_rider_at_[hidden] | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: Boost 1.39.0 | Component: intrusive
   Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+-------------------------------------------
Changes (by d_rider_at_[hidden]):

 * cc: d_rider_at_[hidden] (added)

Comment:

 Replying to [comment:1 andysem]:
> You can try using list_base_hook instead of list_member_hook.
 Ok, thank you. It helped partly.
 Now I can use following
 {{{
 struct Linked : public list_base_hook<>
 {
     list<Linked> m_children;
 };
 }}}
 with one limitation - it's impossible to use tags.
 Also I've reproduced this issue on mingw ((GCC) 3.4.5 (mingw-vista special
 r3))

 Regards, Yuriy

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2864#comment:2>
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:49:59 UTC