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 » Beginners Question: How to return "NULL"
Re: Beginners Question: How to return "NULL" [message #6676 is a reply to message #6675] Wed, 22 November 2006 14:37 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Reference cannot be NULL.

I recommend to make it return pointer (xObject *) instead.

(For me, this is the rule of thumb - if something can be NULL, it is pointer...)

Mirek
 
Read Message
Read Message
Previous Topic: Clear Vector< Vector<*> >
Next Topic: Double formatting bug?
Goto Forum:
  


Current Time: Sun Aug 17 00:14:27 CEST 2025

Total time taken to generate the page: 0.05013 seconds