Beispiel: auto CClass::HasMultipleItems() -> bool { return m_veciMember.size() > 1; }
auto CClass::HasMultipleItems() -> bool { return m_veciMember.size() > 1; }
https://en.wikipedia.org/wiki/Trailing_return_type
This entry was posted on Montag, März 31st, 2025 at 7:51 a.m. and is filed under C++, Programmieren. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
Comments are closed.