| 查看: 429 | 回复: 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 原子距离 |
» 猜你喜欢
面上项目filecode邪修
已经有6人回复
应该是93bebmhtak前后十一个字符比较关键
已经有14人回复
2026国自然放榜时间
已经有4人回复
关于代码变化问题,想知道的进来
已经有22人回复
这样的filecode谁见过
已经有21人回复
filecode与中标关系的预测
已经有5人回复
fileCode有新解读?
已经有18人回复
关于filecode,很负责任的告诉大家
已经有7人回复
【2027博士申请】纳米药物递送方向
已经有5人回复
关于豆爷回答的JTJC与%2F数量
已经有7人回复


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










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