Merge branch 'fix/gcc-7-2-fails-to-compile-test-master' into 'master'
Resolve "GCC 7.2 fails to compile test (master)"
Class template deduction via the constructor seems to be broken for GCC 7.2. We now explicitly state the template argument here as it doesn't hurt in this piece of code.
Closes #821
See merge request !1866