mirror of
https://github.com/boostorg/optional.git
synced 2025-07-17 06:12:08 +02:00
30 lines
705 B
Plaintext
30 lines
705 B
Plaintext
![]() |
[/
|
||
|
Boost.Optional
|
||
|
|
||
|
Copyright (c) 2003-2007 Fernando Luis Cacciola Carballal
|
||
|
Copyright (c) 2015 Andrzej Krzemienski
|
||
|
|
||
|
Distributed under the Boost Software License, Version 1.0.
|
||
|
(See accompanying file LICENSE_1_0.txt or copy at
|
||
|
http://www.boost.org/LICENSE_1_0.txt)
|
||
|
]
|
||
|
|
||
|
[section Header <boost/none.hpp>]
|
||
|
|
||
|
[section Synopsis]
|
||
|
```
|
||
|
namespace boost {
|
||
|
|
||
|
class none_t {};
|
||
|
|
||
|
extern const none_t none; // see below
|
||
|
|
||
|
} // namespace boost
|
||
|
```
|
||
|
|
||
|
Variable `none` has external linkage, however it is not required to link with any library to obtain its definition. Only by including this header file, the definition becomes available, by means of using template instantiation.
|
||
|
|
||
|
[endsect]
|
||
|
|
||
|
[endsect]
|