Showing only posts tagged cpp. Show all posts.

Standard and User-Defined Conversions

3 minute read.

I just came across a surprising bug in my code which I did not expect to cause any problem at all. The simplified code goes like this:

void foo(const std::string& str) { printf("string!"); }

          void foo(const bool b) { printf("bool!"); }

          // ...

          foo("0");

What do you expect? Dumb question …

WebVR Ramblings

~ 2 Minute Read.

Lately, I’ve been immersing myself in various frameworks and engines to build WebVR content.

Tomorrow is a big day, that apart from me not many people will notice until further down in the future. I will make sure you do, though, don’t worry. There will …

page 1 | older articles »