Skip to content

Commit e72eaa4

Browse files
thorinkwjakob
authored andcommitted
changed return_value:: to return_value_policy:: (#672)
* changed return_value:: to return_value_policy:: * Update functions.rst
1 parent 1d7998e commit e72eaa4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/advanced/functions.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,10 @@ The following table provides an overview of available policies:
9090
+--------------------------------------------------+----------------------------------------------------------------------------+
9191
| :enum:`return_value_policy::automatic` | **Default policy.** This policy falls back to the policy |
9292
| | :enum:`return_value_policy::take_ownership` when the return value is a |
93-
| | pointer. Otherwise, it uses :enum:`return_value::move` or |
94-
| | :enum:`return_value::copy` for rvalue and lvalue references, respectively. |
95-
| | See above for a description of what all of these different policies do. |
93+
| | pointer. Otherwise, it uses :enum:`return_value_policy::move` or |
94+
| | :enum:`return_value_policy::copy` for rvalue and lvalue references, |
95+
| | respectively. See above for a description of what all of these different |
96+
| | policies do. |
9697
+--------------------------------------------------+----------------------------------------------------------------------------+
9798
| :enum:`return_value_policy::automatic_reference` | As above, but use policy :enum:`return_value_policy::reference` when the |
9899
| | return value is a pointer. This is the default conversion policy for |

0 commit comments

Comments
 (0)