Open Konard opened 4 years ago
Why? This is very inconvenient. For example
std::same_as<Link*, decltype(source)> // should be changed to std::same_as<Link *, decltype(source)>
Similarly with references:
int lol;
auto &&object = std::move(lol);
std::same<int &&, decltype(object)>;
The asterisk and ampersand are type specifiers, but not variables
This might once have been appropriate in C lang
int *x, *y, *z; // zoomer-style ==> int* x, * y, * z;
in C++
int* x;
int* y;
int* z;
This is really a CRINGE. Stroustrup seemed to have lived in vain
Hm... Looks like this another design decisions that should be applied across all the repositories. And yes, I agree with you. But
int* x;
int* y;
int* z;
is also possible in C language, not only in C++.
I know. Look at stdlib.h
in your pc
Link* source;
should be changed toLink *source;