음악, 삶, 개발

함수 본문

개발 공부/C++ 약점공략

함수

Lee_____ 2020. 9. 15. 04:13

 


참고자료

 

Programiz : C++ Functions

 

Google C++ Style Guide : Functions

C++ Core Guidelines : Functions (영문)

C++ Core Guidelines : 함수 (한글)

 

Stackoverflow : Should I return const objects?
Stackoverflow : Purpose of returning by const value?

Stackoverflow : What are the use cases for having a function return by const value for non-builtin type?

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?

 

Want Speed? Pass by Value.

 

C++ Return by Reference

 

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)