| 查看: 375 | 回复: 1 | |||
[求助]
template function怎么用?
|
|
程序里调用如下: plint numDigits=8; serializerToAsciiStream(serializer, ostr, numDigits); 其中 DataSerializer const* serializer, std::string const& name 但编译错误: /home/peter/x.hh: In member function ‘void plb::GMSHDataWriter3D::writeDataField(const plb: ataSerializer*, const std::string&, plb::plint)’:/home/peter/x.hh:86: error: no matching function for call to ‘serializerToAsciiStream(const plb: ataSerializer*&, std: fstream*&, plb::plint& ’怎么不匹配 ? 先谢了。 [ Last edited by cean on 2011-11-6 at 20:02 ] |
» 收录本帖的淘帖专辑推荐
fortran 原子距离 |
» 猜你喜欢
085410 273分调剂
已经有3人回复
291分调剂
已经有5人回复
计算机22408 281分,求调剂
已经有3人回复
305求调剂
已经有5人回复
调剂
已经有3人回复
316求调剂
已经有4人回复
304求调剂(085602,过四级,一志愿985)
已经有27人回复
270求调剂
已经有3人回复
312求调剂
已经有4人回复
272分材料子求调剂
已经有40人回复


2楼2011-11-07 17:04:51













ataSerializer*, const std::string&, plb::plint)’:
fstream*&, plb::plint&
’
回复此楼