Re: [GENERAL] I need help creating a composite type with some sort of constraints.

2009-11-23 Thread Scott Bailey
John Oyler wrote: I can create one or more domains, and use those to create the composite type from. But each domain can only be constrained in its own value, I can't constrain element #1's value based on what element #2's value is. If I create a domain from a composite, it will complain with a

[GENERAL] I need help creating a composite type with some sort of constraints.

2009-11-23 Thread John Oyler
I can create one or more domains, and use those to create the composite type from. But each domain can only be constrained in its own value, I can't constrain element #1's value based on what element #2's value is. If I create a domain from a composite, it will complain with a "ERROR: cdt.instant_