12-09-2013, 10:21 AM
Thanks.
I think it'll have to be a deviation then. There will be several instances of this struct, and the array size is not the same in all of them.
I could declare an array type large enough to hold the largest array I would want to point at, and use a pointer to that, but that strikes me as less safe rather than more as it would tempt me to place some confidence on the array size declared in the type, as opposed to the size specified in the struct.
Frank
I think it'll have to be a deviation then. There will be several instances of this struct, and the array size is not the same in all of them.
I could declare an array type large enough to hold the largest array I would want to point at, and use a pointer to that, but that strikes me as less safe rather than more as it would tempt me to place some confidence on the array size declared in the type, as opposed to the size specified in the struct.
Frank
<t></t>