You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just want to ask if there is a way to make this code compile:
// example.hpp
#include<list>
#include<boost/container/list.hpp>
#include<boost/intrusive/list.hpp>classLL;
classO
{
std::list<LL>::iterator stlIt;
boost::container::list<LL>::iterator boostIt;
// uncommenting this line the code does not compile...// boost::intrusive::list<LL>::iterator boostIntrusiveIt;
};
classOL
{
O member;
};
classL
{
OL member;
};
classLL
{
L member;
boost::intrusive::list_member_hook<boost::intrusive::link_mode<boost::intrusive::normal_link>> listHook_;
};
g++ 15.2.0 (Boost 1.88)...
The normal list iterators seem to be OK,
but the intrusive one is not...