1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 01:05:38 +01:00

Explicit instantiate the template function

This commit is contained in:
Peter Boyle 2021-03-18 15:40:42 -04:00
parent 49b0af2c95
commit 15c50a7442

View File

@ -153,6 +153,9 @@ void GridCmdOptionIntVector(const std::string &str,VectorInt & vec)
return;
}
template void GridCmdOptionIntVector(const std::string &str,std::vector<int> & vec);
template void GridCmdOptionIntVector(const std::string &str,Coordinate & vec);
void GridCmdOptionInt(std::string &str,int & val)
{
std::stringstream ss(str);