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

Commit

Permalink
POC explict template instanciation
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Rocard <kevin.rocard@intel.com>
  • Loading branch information
krocard committed Jan 12, 2016
1 parent 637834b commit c66e4b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parameter/ElementHandle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ bool ElementHandle::getAs(T &value, string &error) const
return parameter.access(value, false, parameterAccessContext);
}

template PARAMETER_EXPORT bool ElementHandle::getAs(bool &, string &) const;
template PARAMETER_EXPORT bool ElementHandle::getAs(string &, string &) const;
template PARAMETER_EXPORT bool ElementHandle::getAs(double &, string &) const;

// Boolean access
bool ElementHandle::setAsBoolean(bool bValue, string &error)
{
Expand Down

0 comments on commit c66e4b8

Please sign in to comment.