Quantcast
Channel: User Peter - Reinstate Monica - Stack Overflow
Viewing all articles
Browse latest Browse all 223

Comment by Peter - Reinstate Monica on error: use of deleted function - solution?

$
0
0
Even more simply: If you want copy and assignment semantics you can use a pointer right away (which is what the wrapper does behind the scenes anyway, with a lot of fluff that's unnecessary here). The wrapper is only useful for cases in which we'd like to store "naked" references in containers etc. One could say that foois a minimal reference wrapper, semantically.

Viewing all articles
Browse latest Browse all 223

Trending Articles



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