Re: [sigc] TypeTraits



On Thu, 2004-07-29 at 17:02 +0200, Martin Schulze wrote:
> Hi Arnaud!
> 
> Thanks for reporting this! You are right, the instance() method is  
> completely ununsed. It was needed for some early alpha versions of  
> libsigc++2 that used gcc's non-portable typeof() keyword. I never  
> thought of removing it.
> 
> The problem is: formally, the type_trait<> template is part of the  
> public API so I hesitate to silently remove the instance() method. On  
> the hand, it doesn't really make sense to conditionally generate it -  
> our only alternative.
> 
> So, I'm asking the list: is there anybody against completely removing  
> the (internally unused) type_trait<>::instance() method?

I see no problem with removing it. It is a static method (so, non-
virtual, so it won't affect ABI), and it is completely unimplemented, so
there is no way that anybody could even link to it.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]