@Booms_JustBooms 1. Yes they do, just not as clean. But I'm mostly wanting this for the appendAll() type API
2. I considered span<t>, wasn't sure about possible performance hits with non-vector backends? But span<> does have a size, so yeah I think it'd be fine.
std::vector<T> should provide += T to append T and += std::vector<T> to append a full vector. So much cleaner than the 3-parameter insert()
I'm planning the first ever "C++ Best Practices Game Jam"!
It will begin April 1st, 2022!
https://t.co/uczHlF2LOj
And I need your help to make sure it goes smoothly!
(plz retweet for exposure)
๐๐๐
@lefticus@mattgodbolt Good point, that makes sense. I'm surprised the assembly is the same in arm - I didn't think about how the execution must be in x64. Using llabs in arm does produce different assembly
@BramStolk@grujicbr@MrMadbrain ( Respectfully :) ) This sounds terrible. I want to include bar.h, so I need to go look up its dependencies to include foo.h first. But foo.h also has dependencies, so let me go look them up as well...
I much prefer stand-alone headers.
@dascandy42 @normed_space I had a tablesaw accident back in November. I'm still finding blood splatters around my shop. I've since refused to use my tablesaw until I upgrade it to a sawstop.