Hi;
 
I've had a look in MSDN, and the C++ 98 specs (section 4), but can't find a simple answer to this question.  Can you perform standard conversions between different types of pointers when they point to integral types.  If they were just instances of an integral type, you could perform either a widening or narrowing conversion, either increasing or decreasing the size of the bit field.  However, The subsection of the specs that deals with pointer conversions, something like 4.10 or 4.11, doesn't really give a clear answer.  I suspect that you may be able to do widening conversions, but that narrowing conversions would equate to a partial memory leak, as you're not referencing the full bit field, and so cannot call delete on the whole of that memory block.
 
Thanks for any help.
 
Will


To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to