« first day (638 days earlier)      last day (12 days later) » 

01:14
cant you just make a union of such arrays
 
4 hours later…
04:45
But then the size would need to be known at compile time @Seggan
Flexible array member allowed for malloc() to be used
 
14 hours later…
18:50
0
Q: How do modern compilers choose which variables to put in registers?

CPlusC has the register keyword, originally designed as a hint to the compiler that a variable should be placed in a register rather than on the stack. However this is generally considered an unneeded feature in this day and age: Most modern compilers do that automatically, and are better at picking ...

 
3 hours later…
21:42
Tad late, but new CMs
3
 
2 hours later…
23:18
Hi all, does anyone know of any methods to implement type polymorphism without type erasure entirely statically? With the intention that the compiler can determine the true type after a static cast and we can statically cast back

« first day (638 days earlier)      last day (12 days later) »