Given a pointer to a struct, is there a clean way to determine if that struct is allocated on the heap or not? Or alternatively to determine whether it has finite or infinite lifetime (in TDPL speak)?
- does pointer refer to a heap object? Carl Sturtivant
- Re: does pointer refer to a heap object? Brad Anderson
- Re: does pointer refer to a heap object? Carl Sturtivant
- Re: does pointer refer to a heap object? David