Home » U++ Library support » U++ MT-multithreading and servers » GuiLock and GuiUnlock objects are of different type.
|
|
Re: GuiLock and GuiUnlock objects are of different type. [message #56197 is a reply to message #56196] |
Sun, 07 February 2021 18:02  |
Oblivion
Messages: 1212 Registered: August 2007
|
Senior Contributor |
|
|
Quote:
IDK. I am using struct in almost all cases where either all members are naturally public or I do not care about hiding by private (which is 99% of time in end applications). Is that wrong? For me the difference between struct and class is the default access, nothing else...
Effectively, nothing is wrong there, it is solely about access type, of course. As I noted, it is just for the sake of some consistency in source code. And source code parsers (intellisense, et.c) may categorize them differently. It "may" impair the visiblity of the "lock pair".
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Sun, 07 February 2021 18:03] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Jun 16 02:02:37 CEST 2025
Total time taken to generate the page: 0.05167 seconds
|