@ZPostFacto Mostly, but the type system can still be used to simplify and eliminate bugs at the call site. This could be expanded to handle all relevant types, but here's an example to simplify the call site with your use case of PoDs and const char*s:
@ZPostFacto In those two specific examples we'd have to pass the size info to the span constructor, without sizeof for the struct, just as we have to with the type erased construct. The minute we cross the line into C++20+ territory it's both less universal and more bug prone.
@mikebirdy@C0smas0wl@greg_ashman No. This supported 'crisis' has been ongoing since the late 90s. There's a problem with the system when every 3 years the excuse of needing trained people is rolled out as if it's a brand new requirement. For going on 30 years now.
@jandragsbaek@meetingcpp He he, that xkcd does the rounds re build systems in C++. When we remove the 'standard' criteria though it's actually good to have multiple solutions. Especially if at least one is not CMake!
@davidcrawshaw The difference is that the C++ stdlib is (a) already extensive and (b) has established common interfaces that 3rd party libs can and do follow. Re 3rd party libs, the biggest accessibility upgrade newcomers can make is choosing xmake over CMake imo. So much noise removed.
@valigo@OilAndEagles Russia is on the takeover menu. The US has banned China-controlled TikTok and it really isn't surprising that other countries similarly limit the influence of US mega corps and Western social movements. They are obviously attack vectors.
@Dickson_SMFC@songbir81630951@MeirsPorgan2024 There are thousands of gangsta grime videos out there. Millions videos of teenagers showing off on social media. Face coverings have become part of street fashion in in the UK.
@Dickson_SMFC@songbir81630951@MeirsPorgan2024 Greggs and other stores are taking hitherto unnecessary action precisely because of the new predominance of this pattern. When were all of those stores designed and built?
@Dickson_SMFC@songbir81630951@MeirsPorgan2024 Both wearing balaclavas/full face coverings everywhere and this brazen style of shoplifting are relatively new social epidemics. It's a social contagion and all contagions have origins.
@valigo C++ conference talks are pretty much all technical. There's a Back to Basics track at CppCon that teaches/refreshes more foundational knowledge too.
@graykevinb It depends on access patterns and/or cost of equality comparisons in the case of searching. Here's search of Object structs with a string key and string value. The comparisons add up:
@Newsforce I remember the book, The Sugar Blues, noting that (increased) reports of mental illness approximated the progress of the sugar trade. There are some interesting notes in this paper too:
https://t.co/58PB7gp95W