fixed few mistake in C++17
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#ifndef HGL_Primary_Mathematics_INCLUDE
|
||||
#ifndef HGL_Primary_Mathematics_INCLUDE
|
||||
#define HGL_Primary_Mathematics_INCLUDE
|
||||
namespace hgl
|
||||
{
|
||||
/**
|
||||
* <EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD>
|
||||
* 求一批数的合
|
||||
*/
|
||||
template<typename T>
|
||||
const T sum(const T *data,const int count)
|
||||
@@ -20,7 +20,7 @@ namespace hgl
|
||||
}
|
||||
|
||||
/**
|
||||
* <EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD>
|
||||
* 求一批数的合
|
||||
*/
|
||||
template<typename R,typename T>
|
||||
const R sum(const T *data,const int count)
|
||||
|
Reference in New Issue
Block a user