Date: Thu, 18 Jan 2024 14:08:45 +0000
Hello all,
Currently, in C++ you must put the inline keyword on to have a static data member with an in-class initialiser. I reälly find this unnecessary, as it is obvious that the data member needs to be inline to have an in-class initialiser.
Current:
inline static type s_member = ...;
Proposed:
static type s_member = ...;
Note: I do not have the time to participate in standardisation in order to open formal proposals, but I wish someöne else does based on my ideas.
Thanks,
Jaiganésh Kumaran.
Currently, in C++ you must put the inline keyword on to have a static data member with an in-class initialiser. I reälly find this unnecessary, as it is obvious that the data member needs to be inline to have an in-class initialiser.
Current:
inline static type s_member = ...;
Proposed:
static type s_member = ...;
Note: I do not have the time to participate in standardisation in order to open formal proposals, but I wish someöne else does based on my ideas.
Thanks,
Jaiganésh Kumaran.
Received on 2024-01-18 14:08:50