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-06-12 12:35:24


#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:
--------------------------------+-------------------------------------------

Comment(by igaztanaga):

 Your report is not a bug, it's standard C++, since you can't define a
 pointer to member "&Linked::_myhook" to the class inside the class (the
 compiler can't deduce the offset of the element). That's an inherent
 limitation of member hooks.

 Why do you say is impossible to use tags when using base hooks?

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