On 10/27/2010 11:26 AM, Christian Gudrian wrote:
> Am 21.10.2010 08:17, schrieb Dhammika Pathirana:
>
>> if (unlikely (!(static_cast<T*>   (this)->next)))
>>      return (size_t) -1;
>
> To make this code compile under C++Builder 2010 I need to remove the
> static_cast so that it reads
>
> if (unlikely (!next))
>
> otherwise the compiler complains that the next member was not accessible.
>
> Removing the cast should not do any harm, should it?

No, it should not.

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to