| 查看: 374 | 回复: 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 原子距离 |
» 猜你喜欢
283求调剂 086004考英二数二
已经有10人回复
22408 327分求调剂
已经有3人回复
0831生医工第一轮调剂失败求助
已经有12人回复
机械专硕270求调剂,接受跨专业
已经有12人回复
288求调剂
已经有15人回复
293求调剂
已经有5人回复
271求调剂
已经有5人回复
一志愿哈工大 085600 277 12材科基求调剂
已经有19人回复
272分材料子求调剂
已经有38人回复
电气工程专硕320求调剂
已经有3人回复


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













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