« first day (4054 days earlier)
← previous day
next day →
last day (1123 days later) »
Morwenn
15:04
Wow, I've hardly seen that chat dead for so long
PeterT
15:21
Now why you break the record then? We could've gone longer for sure
8 hours later…
Mikhail
23:38
is there some utility to iterate over specific variant types in a collection of variants?
for (auto only_some_variant : variants.view_variant_type_a())
I keep seeing people trying to role their own versions, and then watching them fail linting/runtime checks etc
Morwenn
Despite so many variant implementations being available
I guess you can do something with
views::filter
?
Mikhail
std::variant is the one true variant implementation :-)
fuck, every-time I used variants it wasn't quiet the right thing
part of the issue is that visiting a variant still looks fugly
Morwenn
I haven't really used them so far
Behold
inspect
Coming in all good stores around you in 2035
Mikhail
so people respond by making an inline variant (aka wrapping the variant, and adding getters()), which leads to frequent double dispatch - effectively negating the advantage of variants
Morwenn
double deez patch
Mikhail
23:47
Morwenn
yes, I'm being very constructive and helpful tonight
I'm just waiting for my CI to finish to close an issue and go to sleep
Mikhail
tis the life of a software engineer
I noticed that if CI go down people get more shit done because they can't sleep
*some people
ugg, my company keeps hiring people and I feel like a total looser because I can't refer anybody
Morwenn
haha
mood tho
2
« first day (4054 days earlier)
← previous day
next day →
last day (1123 days later) »
all rooms
Transcript for
Nov
19
Nov '21
21
Nov
22
Lounge<C++>
Today we're daydreaming about C++26 reflection
6
4
c++
chill
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile