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

Comment by HolyBlackCat on difference between runtime and compile time with regard to dynamic binding

$
0
0
"why can the compiler not find this out at compile time" It can in some cases, look up "devirtualization". Also there are some alternatives to virtual functions that do this at compile-time (CRTP).

Viewing all articles
Browse latest Browse all 1313

Trending Articles



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