3 ms·
?: Is like if, but it’s an expression rather than a statement so it can go lots of places. I can’t see where l is declared. I’d guess it is a union. The tests
by jfoutz 4y ago
?:
Is like if, but it’s an expression rather than a statement so it can go lots of places.
I can’t see where l is declared. I’d guess it is a union. The tests figure out what kind of structure is passed in. either a plain old c string, a cstring in a big buffer, or a char.
I think that’s the gist in words. Kinda like a match expression over a sum type