Possible Duplicate:
What is the meaning of the term “free function” in C++?
I am not sure what a standalone function is.
Is it inside the class or same as normal function outside the main and class?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A stand-alone function is just a normal function that is not a member of any class and is in a global namespace. For example, this is a member function:
And this is a stand-alone one: