Dive into C++14 - [2] - `for_each_argument` explained and expanded

Subscribers:
6,290
Published on ● Video Link: https://www.youtube.com/watch?v=Za92Tz_g0zQ



Duration: 40:55
10,373 views
109


http://vittorioromeo.info

The second video covers a very interesting code snippet originally posted on Twitter by Sean Parent: `for_each_argument`.

It shows and explains the usage of C++14 compile-time integer sequences, and analyzes a very interesting iterative implementation of an alternative version of Sean's function that takes the desired arity as a template parameter.

This tutorial video is a reviewed and improved version of my C++Now 2015 lightning talk ("`for_each_arg` explained and expanded").

Some possible use cases for the implemented functions are also shown and analyzed:
* `make_vector(...)`
* `forTuple` - iteration over tuple elements
* `make_unordered_map(...)`

The target audience is people with knowledge of C++11 features and some C++14 experience.

---

Links in the video:

https://github.com/SuperV1234/cppnow2015
https://github.com/boostcon/cppnow_presentations_2015
http://eli.thegreenplace.net/2014/perfect-forwarding-and-universal-references-in-c/
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3802.pdf
http://stackoverflow.com/questions/29900928







Tags:
vittorio
romeo
vee
gamedev
game
development
software
programming
c++
cpp
open
hexagon
super
terry
cavanagh
sfml
ssv
tutorial
video
ludum
dare
10corp
operation
bloodshed
carnage
midnight
synergy
hyper
princess
pitch
devlog
dive
into
c++11
c++14
c++17
for
each
argument
iteration
tuple
std
stl
tut
cppcon
cppnow
boost
boostcon
C++14
Science (TV Genre)
Programming Language (Software Genre)
meeting
pp