Showing only posts tagged c++. 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 …

UE4: Deprecating Symbols

~ 3 Minute Read.

I find my­self googling for how to dep­re­cate UENUM, USTRUCT, UCLASS, UPROPERTY, UFUNCTION in Un­re­al En­gine 4 ev­ery now and then. With this blog post I hope to pro­vide a ref­er­ence for how to do this for …

page 1 | older articles »