forked from boostorg/optional
docs: described optional reference binding issues
This commit is contained in:
1 parent
f94846ccc5
commit
1c9775a9d9
9 files changed
+181
-24
No files matched your search
+1
-1
@@ -46,7 +46,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
|
||||
|
||||
[section Introduction]
|
||||
This library can be used to represent 'optional' (or 'nullable') objects and safely pass them by value:
|
||||
This library can be used to represent 'optional' (or 'nullable') objects that can be safely passed by value:
|
||||
|
||||
optional<int> readInt(); // this function may return either an int or a not-an-int
|
||||
|
||||
|
||||
Reference in new issue
Block a user