Add isIntegralConstant type trait
commit076b083ce9f570055c50f9331c28832a77521f48
authorRoland Schulz <roland.schulz@intel.com>
Mon, 31 Jul 2017 23:56:00 +0000 (31 16:56 -0700)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 7 Sep 2017 15:00:28 +0000 (7 17:00 +0200)
tree73724eb59cf592b7ecf33bfaf435dd26c0aabd17
parentee2936efb1f5cedb792ea56a83c6eed904133519
Add isIntegralConstant type trait

Add static assert to pme-gather to make overload safer

Change-Id: I71c67f3ee40185e31796752d090d2aa9f0918ec8
src/gromacs/ewald/pme-gather.cpp
src/gromacs/utility/tests/CMakeLists.txt
src/gromacs/utility/tests/typetraits.cpp [new file with mode: 0644]
src/gromacs/utility/typetraits.h [new file with mode: 0644]