File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class UAllocator : public CObject {
25
25
/* *
26
26
* 生成一个 CObject 对象
27
27
* @tparam T
28
- * @return
28
+ * @return T*
29
29
*/
30
30
template <typename T,
31
31
c_enable_if_t <std::is_base_of<CObject, T>::value, int > = 0 >
@@ -36,7 +36,7 @@ class UAllocator : public CObject {
36
36
/* *
37
37
* 生成一个 CStruct 的对象
38
38
* @tparam T
39
- * @return
39
+ * @return T*
40
40
*/
41
41
template <typename T,
42
42
c_enable_if_t <std::is_base_of<CStruct, T>::value, int > = 0 >
@@ -49,7 +49,7 @@ class UAllocator : public CObject {
49
49
* @tparam T
50
50
* @tparam Args
51
51
* @param args
52
- * @return
52
+ * @return T*
53
53
*/
54
54
template <typename T, typename ...Args,
55
55
c_enable_if_t <std::is_base_of<CObject, T>::value, int > = 0 >
@@ -64,7 +64,7 @@ class UAllocator : public CObject {
64
64
/* *
65
65
* 生成unique智能指针信息
66
66
* @tparam T
67
- * @return
67
+ * @return std::unique_ptr<T>
68
68
*/
69
69
template <typename T,
70
70
c_enable_if_t <std::is_base_of<CObject, T>::value, int > = 0 >
@@ -76,7 +76,7 @@ class UAllocator : public CObject {
76
76
/* *
77
77
* 生成T类型的对象
78
78
* @tparam T
79
- * @return
79
+ * @return T*
80
80
*/
81
81
template <class T >
82
82
static T* safeMalloc () {
You can’t perform that action at this time.
0 commit comments