Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

645,927 Aufrufe • vor 2 Jahren •via X (Twitter)

7 Kommentare

Profilbild von Тsфdiиg
Тsфdiиgvor 2 Jahren

The presented in the video code is not meant to be production ready. It's meant to convey the main idea of the approach. You actually want to pass xs by pointer and wrap it internally in parenthesis. I've put a better version in a gist:

Profilbild von Тsфdiиg
Тsфdiиgvor 2 Jahren

Just 9 lines of code?

Profilbild von Kolt
Koltvor 2 Jahren

I believe this is how vectors work in C++?

Profilbild von Тsфdiиg
Тsфdiиgvor 2 Jahren

Yes

Profilbild von Vjekoslav Krajačić
Vjekoslav Krajačićvor 2 Jahren

But creating a new struct for each type! Surely, that makes you an unproductive programmer! /s

Profilbild von LLLL Colonq (man of letters)
LLLL Colonq (man of letters)vor 2 Jahren

this is a nice video format, it's fast but the order of things flows very well

Profilbild von Qianqian Fang /房骞骞/
Qianqian Fang /房骞骞/vor 2 Jahren

in the macro, what does "do{}while(0)" provide compared to just a pair of curly brackets {...}?

Ähnliche Videos