Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

name_of member #259

Merged
merged 4 commits into from
Apr 29, 2024
Merged

name_of member #259

merged 4 commits into from
Apr 29, 2024

Conversation

qicosmos
Copy link
Owner

  constexpr size_t idx1 = iguana::index_of<&point_t::y>();
  static_assert(idx1 == 1);
  constexpr size_t idx2 = iguana::index_of<&person::name>();
  static_assert(idx2 == 0);

  constexpr auto s1 = iguana::name_of<&point_t::y>();
  static_assert(s1 == "y");
  constexpr auto s2 = iguana::name_of<&person::name>();
  static_assert(s2 == "name");

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.03%. Comparing base (5857afd) to head (96f0964).
Report is 14 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #259      +/-   ##
==========================================
+ Coverage   44.75%   45.03%   +0.28%     
==========================================
  Files          46       46              
  Lines        5602     5627      +25     
==========================================
+ Hits         2507     2534      +27     
+ Misses       3095     3093       -2     

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

@qicosmos qicosmos merged commit fb6e6d5 into master Apr 29, 2024
21 checks passed
@qicosmos qicosmos deleted the support_name_of branch April 29, 2024 02:41
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.

2 participants