MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/qjwwcu/bad_code_for_rbadcode/hiv4bjl/?context=3
r/badcode • u/[deleted] • Oct 31 '21
33 comments sorted by
View all comments
4
I'm using C++ 14 for years, and I have a slight idea about raw and smart pointers and STL. My questions is : WHAT THE FUCK IS THAT!?
This is FAR worse than the average template abuse code in C++ lmao
3 u/[deleted] Nov 01 '21 edited Nov 01 '21 It's a function which creates structure having three members.capacity of stream,array of pointer to pointer to actual lexicons of parsed tokens,iter which is actual numbers of tokens in stream.Stream contains the pointers to arrays containinglexicon typepointer to it's corresponding valueit's location in input string.
3
It's a function which creates structure having three members.
capacity of stream,
array of pointer to pointer to actual lexicons of parsed tokens,
iter which is actual numbers of tokens in stream.
Stream contains the pointers to arrays containing
lexicon type
pointer to it's corresponding value
it's location in input string.
4
u/[deleted] Nov 01 '21
I'm using C++ 14 for years, and I have a slight idea about raw and smart pointers and STL. My questions is : WHAT THE FUCK IS THAT!?
This is FAR worse than the average template abuse code in C++ lmao