| 查看: 461 | 回复: 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 原子距离 |
» 猜你喜欢
售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急
已经有6人回复
2027博士申请-临床检验诊断学、病原生物学、微生物方向
已经有5人回复
【长期招聘】复旦大学 AI 制药实验室 博士后招聘
已经有10人回复
各位基础老师们,看完中央《从严治党》的决定后,对学术界更加有信心了吧
已经有4人回复
越来越担心硕士毕业后没有竞争力了
已经有15人回复
申博自荐 2篇一区TOP+1篇EI+2公开发明专利 2027博士申请
已经有3人回复


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










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