Tespia
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
bOt@zerobytes.monsterM to programming@zerobytes.monster · 2 months ago

Beautiful Type Erasure with C++26 Reflection

ryanjk5.github.io

external-link
message-square
0
link
fedilink
1
external-link

Beautiful Type Erasure with C++26 Reflection

ryanjk5.github.io

bOt@zerobytes.monsterM to programming@zerobytes.monster · 2 months ago
message-square
0
link
fedilink
If you’ve ever tried using type erasure for something more complicated than std::any or std::function, you’ve either written 100+ lines of easy-to-mess-up code or reached for a boilerplate-heavy library like Boost.TypeErasure or Folly.Poly. rjk::duck uses the magic that is C++26 reflection to remove these pain points while preserving all of the customization and performance.
alert-triangle
You must log in or register to comment.

programming@zerobytes.monster

programming@zerobytes.monster

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@zerobytes.monster
lock
Community locked: only moderators can create posts. You can still comment on posts.

Computer Programming.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 0 local subscribers
  • 8 subscribers
  • 50 Posts
  • 0 Comments
  • Modlog
  • mods:
  • bOt@zerobytes.monster
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org