← 최신 프로덕트

Beautiful Type Erasure with C++26 Reflection

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. Try it on Compiler Explorer: https://godbolt.org/z/91dj5jeGW Check out the source code: https://github.com/RyanJK5/rjk-duck.

ryanjk5.github.io 방문외부 사이트

반응 (1)

비슷한 프로덕트

설명이 비슷한 순

  1. A tool to convert C++ to Rust and Go

    Hacker News8점

  2. type-kanren

    github.com

    type-level microKanren in TypeScript

    Hacker News5점

  3. Minimal Rust-inspired C++20 STL replacement

    Hacker News20점

  4. Undo/Redo in Rust using deltas, snapshots or commands with convenience implementations for many standard and third-party types. Can be also used for delta encoding.

    Hacker News25점

  5. Cppmatch

    github.com

    Rust-Like Pattern Matching and Error Handling for C++

    Hacker News42점