Dynamic Vector of objects
I'm trying to create a dynamic vector of struct objects but facing this error:
error: 'DynamicVector' parameter #0 has 'CollectionElement' type, but value has type 'MyPair'
var vector = DynamicVector[MyPair] ()
I've also tried creating a copy and move constructor but still facing the same problem
Here is my code:
error: 'DynamicVector' parameter #0 has 'CollectionElement' type, but value has type 'MyPair'
var vector = DynamicVector[MyPair] ()
I've also tried creating a copy and move constructor but still facing the same problem
Here is my code:

