Return Type Attributes: auto and ref
So far in the course, functions have been covered in the following chapters:
This chapter will cover more features of functions.
Return type attributes
Functions can be marked as
auto ref. These attributes are about return types of functions.
The return types of
auto functions do not need be specified: