Tags: Programming Language.
Tombstones are a mechanism to detect dangling pointers that can appear in certain computer programming languages e. g. C C++ and assembly languages and to act as a containment to their dangerous effects.A tombstone is a structure that acts as an intermediary between a pointer and the heap-dynamic data in memory. The pointer – sometimes called the handle – points only at tombstones and never to the memory that holds the actual value.