c++ - What is a multilevel pointer? -
when reading const_cast came across sentences following:
only following conversions can done const_cast. in particular, const_cast may used cast away (remove) constness or volatility.
1) 2 possibly multilevel pointers same type may converted between each other, regardless of cv-qualifiers @ each level.
i've googled around bit , haven't found concise, straightforward definitions of multilevel pointer is. so: multilevel pointer?
(possible face-palm moment) it pointer pointer, or pointer pointer pointer, e.g. int ** or int ***?
is pointer pointer, or pointer pointer pointer, e.g.
int **orint ***?
it this, yes.
Comments
Post a Comment