type erasures
type erasures is the plural of type erasure.
Meaning of type erasure
Noun
type erasure (countable and uncountable, plural type erasures)
- A compile-time process by which explicit data type annotations are removed from a program, before run-time execution.
- Although .NET does not have type erasure, meaning it supports reified types, the .NET version of Scala currently follows the JVM's erasure model in order to avoid incompatibilities that would require a “forked” implementation.2009, Dean Wampler, Alex Payne, Programming Scala: Scalability = Functional Programming + Objects, "O'Reilly Media, Inc.", →ISBN, page 249
- A technique by which a class is made generic without requiring compile-time template arguments.
- Type erasure is often seen as a mysterious, enigmatic programming technique. It is not exclusive to C++ (most tutorials on type erasure use Java for their examples).2019, Fedor G. Pikus, Hands-On Design Patterns with C++: Solve common C++ problems with modern design patterns and build robust applications, Packt Publishing Ltd, →ISBN, page 102
Questions about type erasures
- What is type erasures the plural of?
- Type erasures is the plural of type erasure.
Words near type erasures in the dictionary
Source and license
Adapted from Wiktionary: type erasures (page history and authors); type erasure (page history and authors). Text available under the Creative Commons Attribution-ShareAlike 4.0 license. Word.ws reformatted the entry and added links. Wiktionary data of 2026-09-02.
Last updated:
Cite this entry: “type erasures.” Word.ws, https://word.ws/type_erasures. Based on Wiktionary, CC BY-SA 4.0.
