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
Feature request:
It would be nice to have MakeArray(elem Type, len int) Type in the reflect package.
Currently, it is not possible to construct array types from a description without
already having a reference to it. This would be useful to be able to do for certain
networking applications.
The text was updated successfully, but these errors were encountered:
This is mostly done and is in the code as reflect.arrayOf. It is not exported because
it does not yet set the alg and gc fields, which means that the arrays constructed from
that type will not work as map keys and they will not be garbage collected correctly.
If somebody wants to work on finishing that off, that would be great.
by bprosnitz@google.com:
The text was updated successfully, but these errors were encountered: