Modern C++ STL Presentation

Contents:

  1. {{ cv }}
    • {{ lc }}

Why use STL?

  • {{ why }}

STL Containers

{{ pickingcontainer.title }}

Scene

{{ scenepick.Scene }}

Pick

{{ scenepick.Pick }}

{{entry.heading}}

{{entry.subheading}}
								{{ code }}
						

Discovering Lambdas

“A lambda expression is a mechanism for specifying a function object. The primary use for a lambda is to specify a simple action to be performed by some function.” - Bjarne Stroustrup

Syntax of Lambdas

{{ codesample }}

Captures

{{ cx.column1 }}
{{ cx.column2 }}

Mutable

{{note.statement}}
{{ code }}

Gotchas

{{gotcha.statement}}
{{ code }}

Iterators

  • {{ description }}

Iterator Functions - {{func.name}}

  • {{ description }}
{{func.note}}
{{ func.sample }}

Code Examples

{{ cx.description }}
{{cx.before_label}}
{{ cx.before }}
{{cx.after_label}}
{{ cx.after }}

Thank You!

Questions?

References

cppreference.com
C++ Core guidelines
Bjarne Stroustrup's Website
Herb Sutter's Website