The following are implicit conversions of pointers to built-ins:
conversion to void*
conversion to a base subobject of object pointed to
conversion to bool
Reference:
C++ Templates: The Complete Guide
by David Vandevoorde and Nicolai M. Josuttis. Addison-Wesley, 2003, p. 390.
No comments:
Post a Comment