2014-06-06 23:24:43 +02:00
< html >
< head >
2020-10-24 17:17:10 +02:00
< meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" >
2014-06-06 23:24:43 +02:00
< title > Reference< / title >
< link rel = "stylesheet" href = "../../../../../doc/src/boostbook.css" type = "text/css" >
2018-03-24 00:04:15 +01:00
< meta name = "generator" content = "DocBook XSL Stylesheets Vsnapshot" >
2014-06-06 23:24:43 +02:00
< link rel = "home" href = "../index.html" title = "Boost.Optional" >
< link rel = "up" href = "../index.html" title = "Boost.Optional" >
2014-12-06 19:27:53 +01:00
< link rel = "prev" href = "../boost_optional/tutorial/performance_considerations.html" title = "Performance considerations" >
2015-03-09 21:56:25 +01:00
< link rel = "next" href = "../boost_optional/reference/header__boost_optional_bad_optional_access_hpp_.html" title = "Header <boost/optional/bad_optional_access.hpp>" >
2014-06-06 23:24:43 +02:00
< / head >
< body bgcolor = "white" text = "black" link = "#0000FF" vlink = "#840084" alink = "#0000FF" >
< table cellpadding = "2" width = "100%" > < tr >
< td valign = "top" > < img alt = "Boost C++ Libraries" width = "277" height = "86" src = "../../../../../boost.png" > < / td >
< td align = "center" > < a href = "../../../../../index.html" > Home< / a > < / td >
< td align = "center" > < a href = "../../../../../libs/libraries.htm" > Libraries< / a > < / td >
< td align = "center" > < a href = "http://www.boost.org/users/people.html" > People< / a > < / td >
< td align = "center" > < a href = "http://www.boost.org/users/faq.html" > FAQ< / a > < / td >
< td align = "center" > < a href = "../../../../../more/index.htm" > More< / a > < / td >
< / tr > < / table >
< hr >
< div class = "spirit-nav" >
2015-03-09 21:56:25 +01:00
< a accesskey = "p" href = "../boost_optional/tutorial/performance_considerations.html" > < img src = "../../../../../doc/src/images/prev.png" alt = "Prev" > < / a > < a accesskey = "u" href = "../index.html" > < img src = "../../../../../doc/src/images/up.png" alt = "Up" > < / a > < a accesskey = "h" href = "../index.html" > < img src = "../../../../../doc/src/images/home.png" alt = "Home" > < / a > < a accesskey = "n" href = "../boost_optional/reference/header__boost_optional_bad_optional_access_hpp_.html" > < img src = "../../../../../doc/src/images/next.png" alt = "Next" > < / a >
2014-06-06 23:24:43 +02:00
< / div >
< div class = "section" >
< div class = "titlepage" > < div > < div > < h2 class = "title" style = "clear: both" >
< a name = "optional.reference" > < / a > < a class = "link" href = "reference.html" title = "Reference" > Reference< / a >
< / h2 > < / div > < / div > < / div >
< div class = "toc" > < dl class = "toc" >
2015-03-09 21:56:25 +01:00
< dt > < span class = "section" > < a href = "reference.html#boost_optional.reference.header__boost_none_hpp_" > Header
< boost/none.hpp> < / a > < / span > < / dt >
< dt > < span class = "section" > < a href = "../boost_optional/reference/header__boost_optional_bad_optional_access_hpp_.html" > Header
< boost/optional/bad_optional_access.hpp> < / a > < / span > < / dt >
< dt > < span class = "section" > < a href = "../boost_optional/reference/io_header.html" > Header < boost/optional/optional_io.hpp> < / a > < / span > < / dt >
< dt > < span class = "section" > < a href = "../boost_optional/reference/header__boost_optional_optional_fwd_hpp_.html" > Header
< boost/optional/optional_fwd.hpp> < / a > < / span > < / dt >
< dt > < span class = "section" > < a href = "reference/header__boost_optional_optional_hpp_.html" > Header
< boost/optional/optional.hpp> < / a > < / span > < / dt >
< dt > < span class = "section" > < a href = "../boost_optional/reference/header__boost_optional_hpp_.html" > Header
< boost/optional.hpp> < / a > < / span > < / dt >
2014-06-06 23:24:43 +02:00
< / dl > < / div >
< div class = "section" >
< div class = "titlepage" > < div > < div > < h3 class = "title" >
2015-03-09 21:56:25 +01:00
< a name = "boost_optional.reference.header__boost_none_hpp_" > < / a > < a class = "link" href = "reference.html#boost_optional.reference.header__boost_none_hpp_" title = "Header <boost/none.hpp>" > Header
< boost/none.hpp> < / a >
2014-06-06 23:24:43 +02:00
< / h3 > < / div > < / div > < / div >
2015-03-09 21:56:25 +01:00
< div class = "section" >
< div class = "titlepage" > < div > < div > < h4 class = "title" >
< a name = "boost_optional.reference.header__boost_none_hpp_.synopsis" > < / a > < a class = "link" href = "reference.html#boost_optional.reference.header__boost_none_hpp_.synopsis" title = "Synopsis" > Synopsis< / a >
< / h4 > < / div > < / div > < / div >
< p >
< / p >
< pre class = "programlisting" > < span class = "keyword" > namespace< / span > < span class = "identifier" > boost< / span > < span class = "special" > {< / span >
2014-06-06 23:24:43 +02:00
2015-10-01 15:26:15 +02:00
< span class = "keyword" > class< / span > < span class = "identifier" > none_t< / span > < span class = "special" > {/*< / span > < span class = "identifier" > see< / span > < span class = "identifier" > below< / span > < span class = "special" > */};< / span >
2014-06-06 23:24:43 +02:00
2020-10-24 17:17:10 +02:00
< span class = "keyword" > inline< / span > < span class = "keyword" > constexpr< / span > < span class = "identifier" > none_t< / span > < span class = "identifier" > none< / span > < span class = "special" > (/*< / span > < span class = "identifier" > see< / span > < span class = "identifier" > below< / span > < span class = "special" > */);< / span >
2014-06-06 23:24:43 +02:00
< span class = "special" > }< / span > < span class = "comment" > // namespace boost< / span >
< / pre >
2015-03-09 21:56:25 +01:00
< p >
< / p >
< p >
2015-10-01 15:26:15 +02:00
Class < code class = "computeroutput" > < span class = "identifier" > none_t< / span > < / code > is meant to
serve as a tag for selecting appropriate overloads of from < code class = "computeroutput" > < span class = "identifier" > optional< / span > < / code > 's interface. It is an empty,
trivially copyable class with disabled default constructor.
< / p >
< p >
Constant < code class = "computeroutput" > < span class = "identifier" > none< / span > < / code > is used to
indicate an optional object that does not contain a value in initialization,
assignment and relational operations of < code class = "computeroutput" > < span class = "identifier" > optional< / span > < / code > .
2015-03-09 21:56:25 +01:00
< / p >
< / div >
2014-06-06 23:24:43 +02:00
< / div >
< / div >
< table xmlns:rev = "http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width = "100%" > < tr >
< td align = "left" > < / td >
2021-11-20 02:00:30 +01:00
< td align = "right" > < div class = "copyright-footer" > Copyright © 2003-2007 Fernando Luis Cacciola Carballal< br > Copyright © 2014-2021 Andrzej Krzemieński< p >
2014-06-06 23:24:43 +02:00
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at < a href = "http://www.boost.org/LICENSE_1_0.txt" target = "_top" > http://www.boost.org/LICENSE_1_0.txt< / a > )
< / p >
< / div > < / td >
< / tr > < / table >
< hr >
< div class = "spirit-nav" >
2015-03-09 21:56:25 +01:00
< a accesskey = "p" href = "../boost_optional/tutorial/performance_considerations.html" > < img src = "../../../../../doc/src/images/prev.png" alt = "Prev" > < / a > < a accesskey = "u" href = "../index.html" > < img src = "../../../../../doc/src/images/up.png" alt = "Up" > < / a > < a accesskey = "h" href = "../index.html" > < img src = "../../../../../doc/src/images/home.png" alt = "Home" > < / a > < a accesskey = "n" href = "../boost_optional/reference/header__boost_optional_bad_optional_access_hpp_.html" > < img src = "../../../../../doc/src/images/next.png" alt = "Next" > < / a >
2014-06-06 23:24:43 +02:00
< / div >
< / body >
< / html >