Summary

Here's a brief summary of all the concepts discussed in this chapter!

​In this chapter you’ve seen how if constexpr can make code much clearer and more expressive. Before C++17 you could use enable_if techniques (SFINAE) or tag dispatching. Those options usually generated complicated code which might be hard to read by novice and non-meta-programming experts. if constexpr lowers the expertise level needed to write template code effectively.


In the next chapter, we will learn to parallelize CSV Reader.

Get hands-on with 1400+ tech skills courses.