Merry Christmas!

Hey, this is the first christmas for jaux.net, and today is my first boxing day to crash a door. Got nothing but happy holidays :)
Merry Christmas, everyone!


Street Fighter IV

15 years had already passed, but I can still remember the day I was playing Street Fight II when I was in elementary school.


Hot-pot Party Forum Is Up

Yesterday, we several friends had a wonderful hot-pot party night. We then called ourselves “Hot-pot Party” — such a amazing party name.
We couldn’t get together like last night every night and talk, but it’s not a big problem. We can’t talk face to face, let’s talk virtually.
Here we go, Hot-pot Party!


How To Prevent Creating Objects On Heap

Yesterday I saw a C++ interview question that was asking the interviewees to prevent the clients from creating objects on heap. That is, you write a class and your class users can’t use new to create an object.
Here is my solution:

class Foo
{
public:
Foo(const Foo& f) {}
static Foo getAnInstance()
[...]