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

Comment by HolyBlackCat on Is std::source_location guaranteed to reuse the same object?

$
0
0
"Compile-time constant" doesn't imply that every call produces the same address, is it? You could e.g. do foo(const T &a, const T &b); foo(current(), current());, and both temporaries are required to have different addresses?

Viewing all articles
Browse latest Browse all 1304

Trending Articles



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