0

As the questions says, I want to create a dynamically allocated array in Ada. Something like C++ std::vector ie., I don't want to store the length of the array in a separate variable like it is done here. As Ada supports generics, is it possible to create a std::vector like functionality in Ada?

Community
  • 1
  • 1
unnamed_addr
  • 1,217
  • 2
  • 12
  • 14

1 Answers1

9

The Standard Libraries includes Ada.Containers.Vectors (RM A.18.2)

egilhh
  • 6,464
  • 1
  • 18
  • 19