A.6.8 Pointers to Void

Any pointer to an object may be converted to type void * without loss of information. If the result is converted back to the original pointer type, the original pointer is recovered. Unlike the pointer-to-pointer conversions discussed in Par.A.6.6, which generally require an explicit cast, pointers may be assigned to and from pointers of type void *, and may be compared with them.

TCPL/A.06.8_Pointers_to_Void (2008-02-23 15:37:01由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.