Hàm trả về tham chiếu trong C++

Print Friendly, PDF & Email

Những thứ lặt vặt liên quan đến việc xây dựng một hàm trong C++ để trả về một tham chiếu.
http://msdn.microsoft.com/en-us/library/z0c3dx2s%28VS.80%29.aspx

7.4a — Returning values by value, reference, and address


http://www.functionx.com/cpp/examples/returnreference.htm
http://www-cs-students.stanford.edu/~sjac/c-to-cpp-info/references

Leave a Reply

Your email address will not be published. Required fields are marked *

*

code

This site uses Akismet to reduce spam. Learn how your comment data is processed.