Add dispatchTemplatedFunction
authorAndrey Alekseenko <al42and@gmail.com>
Mon, 19 Oct 2020 15:05:18 +0000 (17:05 +0200)
committerArtem Zhmurov <zhmurov@gmail.com>
Wed, 28 Oct 2020 06:21:24 +0000 (06:21 +0000)
commit9c37ba186e382cb6030a001bee11558422165073
treeee60b7aa3bb6229b36df3ef4021be74b0c2112b3
parenta0544b0e1089c66829a5c8387db26bddaff77f31
Add dispatchTemplatedFunction

A helper function to select a templated function in runtime based on Enum value.
src/gromacs/compat/mp11.h [new file with mode: 0644]
src/gromacs/compat/tests/CMakeLists.txt
src/gromacs/compat/tests/mp11.cpp [new file with mode: 0644]
src/gromacs/utility/template_mp.h [new file with mode: 0644]
src/gromacs/utility/tests/CMakeLists.txt
src/gromacs/utility/tests/template_mp.cpp [new file with mode: 0644]