[haiku-commits] Re: haiku: hrev45650 - src/apps/debugger/user_interface/gui/team_window

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 9 May 2013 20:26:04 -0400

On 5/9/13, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> Unless I'm much mistaken, that isn't generally correct. If your class has a
> constructor and a destructor (both out of line), the compiler shouldn't try
> to instantiate any BReference method and therefore shouldn't try to do
> anything with the opaque class that it can't.

Mea culpa then, I'll admit I didn't try this specific case. I've run
into similar issues with templates in the past though, and assumed
that was why you were consistent throughout the whole Debugger
codebase about using BReference exclusively on the stack.

Regards,

Rene

Other related posts: