← 피드로
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.…
출처: www.reddit.com · https://www.reddit.com/r/programming/comments/1tuvqp7/deriving_type_erasure/
답글 남기기