음악, 삶, 개발
함수 본문
참고자료
Google C++ Style Guide : Functions
C++ Core Guidelines : Functions (영문)
Stackoverflow : Should I return const objects?
Stackoverflow : Purpose of returning by const value?
Stackoverflow : Is the practice of returning a C++ reference variable evil?
Stackoverflow : C++ Returning reference to local variable
Stackoverflow : Why can't a const method return a non-const reference?
Stackoverflow : Returning non-const reference from a const member function
Stackoverflow : How can a returned object be assignable?
Stackoverflow : Isn't the const modifier here unnecessary?
IsoCpp: Quick Q: Should I return a const value?
C++ 08.01 - 함수 매개 변수와 인수 (Function parameters and arguments)
C++ 08.02 - 값으로 전달 (Pass by value)
C++ 08.03 - 참조로 전달 (Pass by reference)
C++ 08.04 - 주소로 전달 (Pass by address)
C++ 08.05 - 값, 참조 및 주소로 값 반환 (Returning values by value, reference and address)
C++ 08.06 - 인라인 함수 (inline function)
C++ 08.07 - 함수 오버로딩 (Function overloading)
C++ 08.08 - 디폴트 매개변수 (default parameter)
C++ 08.09 - 함수 포인터 (function pointer)