Showing only posts in misc. Show all posts.

Standard and User-Defined Conversions

~ 3 minute read.

I just came across a sur­pris­ing bug in my code which I did not ex­pect to cause any prob­lem at all. The sim­pli­fied code goes like this:

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

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

          // ...

          foo("0 …

I Fixed My Autocomplete

< 2 minute read.

I have been us­ing vim for over two years now. Orig­i­nal­ly start­ed with vrap­per, which helped a lot: when I need­ed my orig­i­nal pro­duc­tiv­i­ty, I was able to go back by switch­ing off vim-mode in Eclipse …

« newer articles | page 4 | older articles »