U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » The problem with 'Null'
Re: The problem with 'Null' [message #20571 is a reply to message #20524] Mon, 23 March 2009 23:55 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
Quote:


Thank you for your explanations. I caught the main idea. So for SQL programming it's possible to introduce 'local IsNull':
template<typename T>
bool IsNullSql(const T& t)
{
  return IsNull(t);
}

bool IsNullSql(const String& s)
{
  return s.IsEmpty();
}




But it really is not only about SQL. I agree that it is a little bit controversial, we know it, but the convention is really quite practical.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: In some cases CParser can be out of buffer
Next Topic: Possible bug/clarification only callback2 was changed for const Object*
Goto Forum:
  


Current Time: Sat Apr 25 20:43:31 GMT+2 2026

Total time taken to generate the page: 0.00487 seconds