Deriving Type Erasure

작성자

카테고리:

← 피드로
r/programming · /u/david-alvarez-rosa · 2026-06-03 개발(SW)

Ever looked at std::any and wondered what’s going on behind the scenes? Beneath the intimidating interface is a classic technique called type erasure: concrete types hidden behind a small, uniform wrapper. Starting from familiar tools like virtual functions and templates, we’ll build a minimal std::any.…

원문 보기 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다