Any way to tell if an object is inside another class?

Ruby The Roobster michaeleverestc79 at gmail.com
Mon Sep 28 13:45:30 UTC 2020


On Monday, 28 September 2020 at 13:00:43 UTC, Paul Backus wrote:

> Can you give some examples of inputs and corresponding outputs 
> for this, like you would for a unit test? I don't understand 
> exactly what you're asking, and it would help clarify.

Okay. Here is an example.
class Test {
this.is_in_aggregate
}

I want a function that returns true when the parent object is a 
member variable of an aggregate type(UDA)


More information about the Digitalmars-d-learn mailing list