---
title: "Discussion on \"C++ Type Erasure on the Stack - Part I\" | Hashnode"
description: "Discussion on \"C++ Type Erasure on the Stack - Part I\". Type erasure is where the type of an object is hidden so that the object can be utilized in a type-independent manner. Type erasure is extremely useful in several scenarios, including heterogeneous containers (containers that store objects of differe..."
url: "https://hashnode.com/posts/c-type-erasure-part-i/6436996a8bb96b3fa5ce5055"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [C++ Type Erasure on the Stack - Part I](https://radiantsoftware.hashnode.dev/c-type-erasure-part-i?utm_source=hashnode&utm_medium=feed)

Type erasure is where the type of an object is hidden so that the object can be utilized in a type-independent manner. Type erasure is extremely useful in several scenarios, including heterogeneous containers (containers that store objects of differe...

Apr 12, 2023 · 11 min read · radiantsoftware.hashnode.dev  
Updated Oct 26, 2023  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#any](https://hashnode.com/tag/any)
-   [#types](https://hashnode.com/tag/types)
-   [#game-development](https://hashnode.com/tag/game-development)
-   [#type-erasure](https://hashnode.com/tag/type-erasure)

## Written by

[Paul Mattione](https://hashnode.com/@radiantsoftware)

@radiantsoftware · Bethesda, MD

  
[View profile](https://hashnode.com/@radiantsoftware)

Principal Engine Programmer @ Volition Games

I'm a Principal Programmer working on the Engine Team at Volition Games! The content of this blog is my own, personal work and views, and is not endorsed by any other party.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
