Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ Address-of nullchecking

Name: Anonymous 2008-10-24 3:39

Impl& impl;

That little motherfucking line of code in a header is pissing me off.  Why?  Because it eventually causes an access violation at the line:

if(!impl.mProcessTimer.checkExpirationAndReset(SECS_BETWEEN_PROCESS))

And I have no idea how to check for nulls in an address-of situation.  Regular pointers?  Sure, but whenever I try if(!impl) or some other more convoluted variation of that, MSVC screams about invalid operators. 

Halp plz.

Name: Anonymous 2008-10-27 0:59

>>40
Xarn's not a furry, although I hear he is a big fan of his new friend Haskell II.

Name: Anonymous 2008-10-27 20:42

>>41
You mean Haskell 98.

Name: Anonymous 2008-10-27 21:54

>>42
No, Haskell 98 passed away in 2007.

Name: Anonymous 2008-10-27 22:24

>>43
No he didn't, that was Haskell 1.0.

Name: Anonymous 2008-10-27 22:26

Monads, more like Waste of Time-nads. LMAO.

Name: Anonymous 2008-10-28 0:20

>>45
LOL!

Name: Anonymous 2010-12-06 9:09

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2011-02-04 17:13

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List