Patrick

Antwerp, Belgium

none

Age: 51

Die-hard developer.
Not afraid to go low-level (even down to assembly when needed during debugging).
Prefers readable code over short, complex, 'would-be-smart', unreadable code.
Musical preferences: EBM (Front 242), Synthpop (Human League, Heaven 17), Electronic stuff (Kraftwerk) and most things that don't fit mainstream (Severed Heads, Isao Tomita).
Likes 80's pinballs (Comet, High Speed)

Apr
29
awarded Nice Question
Apr
8
comment Is there a way to determine if a date/time does not exist?
@Skyking: you're right (partially). When the clock is set back for one hour (DST --> non-DST), and you are not specifying whether you are in DST or not, the CRT will guess, but at least I would hope that it would return either 2:30 DST, or 2:30 non-DST. Anyway, best way to test it is to try it. The result might indeed depend on the implementation of the CRT.
Apr
8
answered Is there a way to determine if a date/time does not exist?
Mar
30
awarded Popular Question
Mar
24
awarded Nice Answer
Feb
25
accepted resolving network node using boost::asio and an std::wstring
Feb
22
asked resolving network node using boost::asio and an std::wstring
Jan
22
awarded Famous Question
Dec
28
awarded Notable Question
Dec
18
asked File deleted with remove function still shows up in FindFirstFile/FindNextFile loop immediately following the removal. Why is this?
Nov
8
accepted How to prevent use of variable after its value has been moved to another variable?
Sep
2
answered Is using a non-ptr at std::map's value a good practice
Sep
2
answered Why the memory not freed in top and pmap?
Aug
30
answered How to pass an object's address on the heap from a function using a pointer
Aug
26
awarded Yearling
Aug
26
awarded Yearling
Jul
28
asked How to prevent use of variable after its value has been moved to another variable?
Jul
22
comment When is the compiler allowed to optimize auto+brace style initialization?
@CoryKramer: Visual Studio 2015 now correctly handles the =default move constructors. Hooray.
Jul
22
comment When is the compiler allowed to optimize auto+brace style initialization?
Visual Studio 2015 is indeed giving an error on this (Product::Product(Product &&)': attempting to reference a deleted function). So it was clearly a bug in Visual Studio 2013.
Jul
22
comment When is the compiler allowed to optimize auto+brace style initialization?
Just checked Visual Studio 2015: here an error is given (which is correct): error C2280: 'Product::Product(Product &&)': attempting to reference a deleted function
1 2 3 4 5