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

Comment by HolyBlackCat on Can I mark a function with noexcept if it has an argument passed by copy?

$
0
0
You can test this yourself, by making a class that always throws in copy ctor. IIRC parameters are constructed outside of the function, and are not covered by noexcept.

Viewing all articles
Browse latest Browse all 1351


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