Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) compile time

 

compile time is the term used for:

 

What can be checked at compile time is usually best checked at compile time, for example by using static_assert.

 

compile time is followed by link time.

 

 

 

 

 

List of compile time checks (incomplete)

 

From type_traits.h:

 

 

 

 

 

Reference

 

  1. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 13.7. Advice. page 387: '[21] What can be checked at compile time is usually best checked at compile time (using static_assert)'

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict