Quantcast
Viewing latest article 7
Browse Latest Browse All 1282

Answer by HolyBlackCat for Where is it defined that references can be converted into more cv-qualified references?

The standard uses "reference-compatible with" instead of "more/less cv-qualified" for reference initialization.

This is described by [dcl.init.ref]/4 and [dcl.init.ref]/5.

The definition of "reference-compatible" boils down to is the same conversion legal for pointers, which is in turn defined in [conv.qual]/3.


Viewing latest article 7
Browse Latest Browse All 1282

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>