Glenn Teitelbaum
  • Member for 8 years, 2 months
  • Last seen more than a month ago
Stats
833
reputation
3k
reached
6
answers
7
questions
Loading…
About

I've been coding for a bit, picked up a few things along the way, and more than happy to share them with others. I am currently working at Bloomberg L.P., all opinions and comments are my own.

C++11 ends the battle over 0 vs nullptr with 0_ptr:

inline constexpr
std::nullptr_t operator "" _ptr(unsigned long long int)
    { return nullptr; }

or 42_ptr if you prefer

This user doesn’t have any gold badges yet.
4
silver badges
13
bronze badges
11
Score
1
Posts
8
Posts %
11
Score
1
Posts
8
Posts %
11
Score
1
Posts
8
Posts %
10
Score
5
Posts
38
Posts %
1
Score
1
Posts
8
Posts %
0
Score
6
Posts
46
Posts %
Top posts
View all questions and answers