Questions tagged [dynarray]

3 questions
45
votes
3 answers

Why both runtime-sized arrays and std::dynarray in C++14?

Draft C++14 includes both runtime-sized arrays and the std::dynarray container. From what I can tell, the only real difference between the two is that std::dynarray has an STL interface (e.g., begin, end, size, etc.), while runtime-sized arrays do…
KnowItAllWannabe
  • 12,972
  • 8
  • 50
  • 91
12
votes
1 answer

What is the status on dynarrays?

gcc 4.9 now has support for n3696 (Runtime-sized arrays with automatic storage duration). n3662 says: In N3497 Runtime-sized arrays with automatic storage duration, Jens Maurer proposes arrays with runtime bound. These arrays are to…
user1508519
2
votes
0 answers

Are there plans to implement std::dynarray in next C++ standard?

I read that std::dynarray was proposed in a draft for C++14 but was dropped out later on. Are there any plans that this class will be included in future C++ standards, or has it been dropped for good?
ferdymercury
  • 698
  • 4
  • 15