« first day (3745 days earlier)      last day (1189 days later) » 

12:58 AM
So it there some paradigmatic way to generate bunch of templates? Like if I have to make 32 of these guys template<int foo> auto something(){return foo;}, I don't want to copy and paste 32 function declarations...
Maybe some godless macro?
 
1:46 AM
@Mikhail Generally speaking, anything paradigmatic is going to be about how to avoid doing this, not about how to do it.
 
 
1:59 AM
Now I just gotta figure out how to add an extra member based on if a particular specialization is used...
this sounds easy but I want to keep most of the body of the function.
Fuck, I might have to use the CRTP
 
2:33 AM
That feel when you need 2^16 templates
 
 
3 hours later…
5:41 AM
Its pretty cool that you can have an "auto" conversion operator: godbolt.org/z/Wo8K57
 
 
3 hours later…
8:33 AM
Also std::bit_width on argument=0 is kinda weird, because apparently you don't need any bits to store zero? I suspect the messed up the name of the log2 function :-)
 
 
3 hours later…
11:13 AM
Hello
 
 
2 hours later…
user7659542
1:37 PM
@CupOfJava Hello
 
user7659542
If your laptop has a dual boot. Is it somehow possible to boot both operating systems and at runtime switch from one OS to another by using eg a given shortkey?
 
user7659542
That way you don't have to reboot your laptop every time to be able to use the other OS
 
2:17 PM
@traducerad only with virtualization
 
user7659542
2:35 PM
Urgh... OK I ll see how to set up a hypervisor
 
user7659542
Is there a particular hypervisor you would suggest? @Mgetz
 
@traducerad nope
 

« first day (3745 days earlier)      last day (1189 days later) »