]> https://gitweb.dealii.org/ - dealii.git/commit
Simplify code that uses variadic templates.
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 21 Aug 2017 23:05:11 +0000 (17:05 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 21 Aug 2017 23:12:05 +0000 (17:12 -0600)
commit3edbdb6ce567fd811dd27b8c566ee321ebaef95a
tree33d194392a55c6035f852255c6ac9b7c370dc7ff
parenteeeceb2a745c3ebfc5696a5b8e4bdc1786a6d373
Simplify code that uses variadic templates.

It turns out that we can do '&args...' to get the addresses of the objects, and then
'{ &args... }' to get a std::initializer_list that we can iterate over. This makes the
code significantly easier to read.
include/deal.II/hp/fe_collection.h

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.