Re: [Boost-bugs] [Boost C++ Libraries] #8512: set member_hook access violation

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8512: set member_hook access violation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-29 00:55:09

#8512: set member_hook access violation
  Reporter: toby_toby_toby@… | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: intrusive
   Version: Boost 1.53.0 | Severity: Showstopper
Resolution: | Keywords:

Comment (by anonymous):

 Well, now it's broken in different place (intrusive::list_member_hook).

 We hit patched condition "if(sizeof(caster) > sizeof(boost::int32_t))" and
 add sizeof(void*), 8+4=12, but actual difference is 8.

 Now I'm gonna update source to include check for this also.

 PS: Sorry if this question is dumb, but why don't we use VC/stddef.h
 offsetof or it's approach with getting address of member of null-object?

Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC