Generally DocumentMethod works on templates. However this template causes it to fail.
This:/**
* This is a brief comment about the $SymbolVirtual$$SymbolPrivileges$$SymbolStatic$function $SymbolName$.
* This is the longer description about $SymbolName$.
* @param $MethodArgName$ Description of $MethodArgName$.
* @return $SymbolType$ The return types.
*/
causes this documentation:
/**
* This is a brief comment about the public function from_string.
* This is the longer description about from_string.
* @param t Description of t.
* @param s Description of s.
* @param Description of .
* @param f Description of f.
* @param Description of .
* @return bool The return types.
*/
template <class T>
bool from_string(T& t,
const std::string& s,
std::ios_base& (*f)(std::ios_base&))
{
std::istringstream iss(s);
return !(iss >> f >> t).fail();
}
Thanks, G.