fixed few mistake in C++17

This commit is contained in:
2022-05-31 17:21:17 +08:00
parent f2ad8ce5bf
commit fb765038f0
4 changed files with 7 additions and 6 deletions

View File

@@ -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)