You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The single_parameter_details class currently has fields which are redundant/null for scalars, and other fields which are redundant/null for buffers. Let's make this struct into a case-class or variant, which can be initialized by specifying its kind (buffer/scalar) and only the nece
An alternative to doing this would be creating named constructor idioms for scalars and for buffers - which would reduce the amount of code necessary for the class itself.
The text was updated successfully, but these errors were encountered:
The single_parameter_details class currently has fields which are redundant/null for scalars, and other fields which are redundant/null for buffers. Let's make this struct into a case-class or variant, which can be initialized by specifying its kind (buffer/scalar) and only the nece
An alternative to doing this would be creating named constructor idioms for scalars and for buffers - which would reduce the amount of code necessary for the class itself.
The text was updated successfully, but these errors were encountered: