[haiku-commits] Re: BRANCH midar-github.master - src/apps/terminal

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 20 Nov 2012 21:03:04 +0100

On 11/18/2012 09:50 PM, Jonathan Schleifer wrote:
Am 18.11.2012 um 21:34 schrieb pulkomandy:
You can use a placement new for that.
I don't see the reason to use overly complex, error-prone code for something 
that is
not performance-critical. Using a vector here is the easiest solution that takes
care of everything.

Nah, you misread the mails, I think. Your solution is perfectly fine there; it's just that in other situations, a different approach might be preferred.

Bye,
   Axel.


Other related posts: