| 查看: 367 | 回复: 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 原子距离 |
» 猜你喜欢
354求调剂
已经有5人回复
材料专业求调剂
已经有3人回复
求材料调剂
已经有7人回复
一志愿天大材料与化工(085600)总分338
已经有3人回复
085600材料与化工
已经有5人回复
085600材料与化工调剂 324分
已经有6人回复
286求调剂
已经有9人回复
焦虑
已经有12人回复
344求调剂
已经有6人回复
266求调剂
已经有9人回复


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













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