阅读背景:

如何在函数调用中修改数据类型?

来源:互联网 

I have the following class

我有以下课程

  template<class TDataType> 
  void SetProperties(IndexType PropertiesId, 
                     const Variable<TDataType>& rVariable, 
                     const TDataType& Value)
  {
      mpModeler->SetProperties(PropertiesId, rVariable, Value);
  }

template<typename TDataType, std::size_t N>
void SetProperties(IndexType PropertiesId,
    const Variable<TDataType>& rVariable,
    const TDataType(&Value)[N])
{
    mpModeler->SetProperties(PropertiesId, rVariable, Value);
}
  templat



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: