Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit c66e4b8

Browse files
committed
POC explict template instanciation
Signed-off-by: Kevin Rocard <[email protected]>
1 parent 637834b commit c66e4b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

parameter/ElementHandle.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ bool ElementHandle::getAs(T &value, string &error) const
235235
return parameter.access(value, false, parameterAccessContext);
236236
}
237237

238+
template PARAMETER_EXPORT bool ElementHandle::getAs(bool &, string &) const;
239+
template PARAMETER_EXPORT bool ElementHandle::getAs(string &, string &) const;
240+
template PARAMETER_EXPORT bool ElementHandle::getAs(double &, string &) const;
241+
238242
// Boolean access
239243
bool ElementHandle::setAsBoolean(bool bValue, string &error)
240244
{

0 commit comments

Comments
 (0)