Hello, I checked the code below while studying open source.
QString name(void) const { return_name;}
LinkInterface* link(void) { return _link.lock().get(); }
Can we find official documents or articles related to how to declare a function, such as name(void), link(void)?
I wonder if it's to show that there are no parameters explicitly, or if it has a different meaning.
c++ qt qt-designer
I can't tell if it's a question about the structure of a function or a question about void, so I'm answering both.
QString name(void) const
{
return _name;
}
LinkInterface* link(void)
{
return _link.lock().get();
}
574 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
585 PHP ssh2_scp_send fails to send files as intended
618 GDB gets version error when attempting to debug with the Presense SDK (IDE)
579 Understanding How to Configure Google API Key
626 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.