Closed miroklarin closed 2 years ago
Thanks a lot for the PR, it looks nice just a small change.
Also, I would like to try including this header
#include <type_traits>
instead, asis_const
is defined there https://en.cppreference.com/w/cpp/header/type_traitsCan you please try that please?
it is not about is_const
, it is about as_const
You right!
I saw you fixed the style, thx! I wonder why you switched from:
#include <utility>
to #include "utility"
it seems like the first one looks more correct?
Now the static check is complaining about the fact that the include should be the last one. We have a CLang formatter config that sorts the includes alphabetically. If you use it, it will just sort the includes for you, I suggest to change the include back to #include <utility>
before sorting it using CLang formatter.
Fix build error, missing
as_const
Fix few typos