Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Core: Null handling incoherent?
Re: Core: Null handling incoherent? [message #32283 is a reply to message #32255] Fri, 06 May 2011 09:52 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
kohait00 wrote on Wed, 04 May 2011 04:46

hi all,

i'm wondering why
template <class T> bool IsNull(const T& x) { return x.IsNullInstance(); }


and not
template <class T> bool IsNull(const T& x) { return x.IsNull(); }


is there a reason for it? name clashes??



You would not be able to use "IsNull" for other objects in any of T methods, without using 'Upp::' prefix -> very annoying...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] String.GetCount with umlaut
Next Topic: read/write to /dev/rtp is happening .. but a small problem
Goto Forum:
  


Current Time: Sun Jun 16 07:19:43 CEST 2024

Total time taken to generate the page: 0.02570 seconds