Const Correcness #264
Closed
TobiasWallner
started this conversation in
General
Replies: 2 comments
-
I fully agree with you. I like it too ! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Merged, Thx ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I was recently working with the event types and wanted to use them as a const reference for a function argument, but it cannot really be used in a
const
environment, because all its methods lackconst
qualifiers. (besides the fact, that: yes of course, you can just copy or move it instead). I don't know about you but I like to work inconst
wherever I can.would you like it if I added them in a pull-request?
files and lines that I would change:
cpp-terminal/cpp-terminal/event.hpp
Lines 28 to 34 in 0674a79
cpp-terminal/cpp-terminal/key.hpp
Lines 198 to 226 in 0674a79
cpp-terminal/cpp-terminal/screen.hpp
Lines 14 to 17 in 0674a79
Beta Was this translation helpful? Give feedback.
All reactions