---
title: "Discussion on \"C++ Type Erasure  on the Stack - Part II\" | Hashnode"
description: "Discussion on \"C++ Type Erasure  on the Stack - Part II\". In Part I of this blog series, we covered how to get a string with our type name, how to safely store type-erased objects, and how to handle trivial types. Now we'll cover how to handle type-erased storage of general types (AnyObject): ones whose cop..."
url: "https://hashnode.com/posts/c-type-erasure-on-the-stack-part-ii/6437502b2bf59b3f7278be06"
---

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

Discussion

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

In Part I of this blog series, we covered how to get a string with our type name, how to safely store type-erased objects, and how to handle trivial types. Now we'll cover how to handle type-erased storage of general types (AnyObject): ones whose cop...

Apr 13, 2023 · 10 min read · radiantsoftware.hashnode.dev  
Updated Apr 23, 2023  
Read the article

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

## 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.
