mirror of
https://github.com/boostorg/optional.git
synced 2025-07-29 12:07:21 +02:00
Cleaned up docs
This commit is contained in:
@ -45,7 +45,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
[def __GO_TO__ [$images/callouts/R.png]]
|
||||
|
||||
|
||||
[heading Introduction]
|
||||
[section Introduction]
|
||||
Class template `optional` is a wrapper for representing 'optional' (or 'nullable') objects who may not (yet) contain a valid value. Optional objects offer full value semantics; they are good for passing by value and usage inside STL containers. This is a header-only library.
|
||||
|
||||
[heading Problem]
|
||||
@ -67,7 +67,7 @@ This is how you solve it with `boost::optional`:
|
||||
runWithNoMax();
|
||||
}
|
||||
|
||||
|
||||
[endsect]
|
||||
|
||||
[include 01_quick_start.qbk]
|
||||
[section Tutorial]
|
||||
|
Reference in New Issue
Block a user