User profile: Peter87

User info
User name:Peter87
Website:http://dataapa.net/
History
Joined:
Number of posts:10321
Latest posts:

SFML Collision Question
The actual collision detection happens on line 91. That's where you know it's a collision or not. Th...

Comparing unique_ptrs
It would return true if you compared the unique_ptr object with itself.

Function Overloading
The comma operator is a binary operator that first evaluates the first operand and discards the resu...

measure execution time - always zero
[quote]I used to think that no optimization was the default behaviour...[/quote] I'm pretty sure it ...

cannot convert ‘std::__cxx11::basic_string<char>’ to ‘const char*’ for argument ‘2’ to ‘PGresult*
I cannot avoid feeling a bit uneasy when I see strings being inserted directly inside a SQL query l...