Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::bind and Motif
From: Lars Viklund (zao_at_[hidden])
Date: 2012-05-04 15:53:13


On Fri, May 04, 2012 at 11:42:58AM -0700, Jeffrey Lee Hellrung, Jr. wrote:
> Sorry, drifting off-topic, and I'm not sure what XtPointer is, but based on
> your comment above, it seems it is a void pointer, and you can indeed
> static_cast a void pointer to any other (object) pointer type (as long as
> you don't drop cv qualifiers).

In my last standard reading, the conclusion I came to was that the only
cast through void that is sane is the one to the exact same type, or
possibly to/from char.

-- 
Lars Viklund | zao_at_[hidden]

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