|
Boost Users : |
Subject: Re: [Boost-users] [Boost.Intrusive] Compilation error with Visual Studio 2008
From: info-tibo (info-tibo_at_[hidden])
Date: 2010-03-13 17:01:04
It work perfectly, thanks a lot!
Darktib
>
> Apparently it works if you add an extra level of indirection:
>
> template<class>
> struct make_member_hook {
> typedef
> boost::intrusive::member_hook<EqualRefSystem,EqualRefSysHook,&EqualRefSystem::ERSMemberHook>
> type;
> };
>
> //! Objects that reference this EqualRefSystem
> boost::intrusive::list< EqualRefSystem,
> typename make_member_hook<EqualRefSystem>::type,
> boost::intrusive::constant_time_size<false> > ReferencedBy;
>
> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net