Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1287

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

$
0
0

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 all articles
Browse latest Browse all 1287

Trending Articles



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