Skip to content

增加DerefPtr泛型解引用函数#283

Open
bigdavidwong wants to merge 2 commits intoecodeclub:devfrom
bigdavidwong:feature/deref_ptr
Open

增加DerefPtr泛型解引用函数#283
bigdavidwong wants to merge 2 commits intoecodeclub:devfrom
bigdavidwong:feature/deref_ptr

Conversation

@bigdavidwong
Copy link
Contributor

  • DerefPtr对于传入的指针进行安全的指针解引用,若引用指针为nil则返回该类型的空值,实现一些指针字段传递时不用多写一段判空的逻辑;

1. 增加DerefPtr泛型解引用函数;

* DerefPtr对于传入的指针进行安全的指针解引用,若引用指针为nil则返回该类型的空值,实现一些指针字段传递时不用多写一段判空的逻辑;
1. 增加DerefPtr泛型解引用函数;

* DerefPtr对于传入的指针进行安全的指针解引用,若引用指针为nil则返回该类型的空值,实现一些指针字段传递时不用多写一段判空的逻辑;
@codecov
Copy link

codecov bot commented Jul 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.66%. Comparing base (0a2320e) to head (4e8b78c).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #283      +/-   ##
==========================================
- Coverage   94.73%   94.66%   -0.08%     
==========================================
  Files          75       75              
  Lines        3798     3804       +6     
==========================================
+ Hits         3598     3601       +3     
- Misses        161      163       +2     
- Partials       39       40       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant