Skip to content

Commit d45ebb7

Browse files
authored
Update UAllocator.h
1 parent 0478505 commit d45ebb7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/UtilsCtrl/UAllocator.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class UAllocator : public CObject {
2525
/**
2626
* 生成一个 CObject 对象
2727
* @tparam T
28-
* @return
28+
* @return T*
2929
*/
3030
template<typename T,
3131
c_enable_if_t<std::is_base_of<CObject, T>::value, int> = 0>
@@ -36,7 +36,7 @@ class UAllocator : public CObject {
3636
/**
3737
* 生成一个 CStruct 的对象
3838
* @tparam T
39-
* @return
39+
* @return T*
4040
*/
4141
template<typename T,
4242
c_enable_if_t<std::is_base_of<CStruct, T>::value, int> = 0>
@@ -49,7 +49,7 @@ class UAllocator : public CObject {
4949
* @tparam T
5050
* @tparam Args
5151
* @param args
52-
* @return
52+
* @return T*
5353
*/
5454
template<typename T, typename ...Args,
5555
c_enable_if_t<std::is_base_of<CObject, T>::value, int> = 0>
@@ -64,7 +64,7 @@ class UAllocator : public CObject {
6464
/**
6565
* 生成unique智能指针信息
6666
* @tparam T
67-
* @return
67+
* @return std::unique_ptr<T>
6868
*/
6969
template<typename T,
7070
c_enable_if_t<std::is_base_of<CObject, T>::value, int> = 0>
@@ -76,7 +76,7 @@ class UAllocator : public CObject {
7676
/**
7777
* 生成T类型的对象
7878
* @tparam T
79-
* @return
79+
* @return T*
8080
*/
8181
template<class T>
8282
static T* safeMalloc() {

0 commit comments

Comments
 (0)