This Summer, Utah C++ Programmers will dive deeper into template programming techniques. This builds on our discussion of compile-time programming from November, 2017. If you missed that presentation, no worries, we've got you covered!
This month, Richard Thomson will give us an introduction to expression templates. Expression templates (https://en.wikipedia.org/wiki/Expression_templates) are a powerful technique in C++ that enables: embedded domain-specific languages, lazy evaluation of expressions (including infinite sequences) and efficient computation without unnecessary temporaries. Expression templates, and the libraries that use them, are a broad topic and it is easy to get lost in details. In this introduction, we will focus on the language mechanisms that enable expression templates with a simple example.
Along the way, we will look at some libraries that use expression templates in their implementation and some libraries aimed at making it easier to write your own expression template based library.
Food will be provided, so please RSVP so we have a proper head count.