Search Results

Search found 1 results on 1 pages for 'nuzz'.

Page 1/1 | 1 

  • Can nullptr be emulated in gcc?

    - by nuzz
    I saw that nullptr was implemented in Visual Studio 2010. I like the concept and want to start using it as soon as possible; however GCC does not support it yet. My code needs to run on both (but doesn't have to compile with other compilers). Is there a way to "emulate" it? Something like: #define nullptr NULL (but obviously that wouldn't work well at all, I was simply showing what I meant).

    Read the article

1