[haiku-development] Containers on kernel space

  • From: Enrique Medina Gremaldos <quiqueiii@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 4 Aug 2021 17:03:59 +0200

Hi people!

I want to fix some bugs on the usb hid driver. I've noticed in current code
there is a handcrafted growing array similar to std::vector. I also need my
own growing vector, but I would like to use something more robust. I've
been told that std containers are ok as long as they are used with nothrow.
I've seen on the kernel/util folder a Vector and a Stack classes that both
could serve.

So... what is the way to go with containers?

Thanks!

Other related posts: