You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://isocpp.org/)[](https://en.wikipedia.org/wiki/C%2B%2B#Standardization)[](https://opensource.org/licenses/MIT)[](https://travis-ci.org/martinmoene/optional-bare)[](https://ci.appveyor.com/project/martinmoene/optional-bare)[](https://github.com/martinmoene/optional-bare/releases)[](https://raw.githubusercontent.com/martinmoene/optional-bare/master/include/nonstd/optional.hpp)[](https://wandbox.org/permlink/xxxxxxxxxxx)
3
+
[](https://isocpp.org/)[](https://en.wikipedia.org/wiki/C%2B%2B#Standardization)[](https://opensource.org/licenses/MIT)[](https://travis-ci.org/martinmoene/optional-bare)[](https://ci.appveyor.com/project/martinmoene/optional-bare)[](https://github.com/martinmoene/optional-bare/releases)[](https://raw.githubusercontent.com/martinmoene/optional-bare/master/include/nonstd/optional.hpp)[](https://wandbox.org/permlink/YAWZ1gyu1zDFGh9V)
4
4
5
5
**Contents**
6
6
-[Example usage](#example-usage)
@@ -78,7 +78,9 @@ Synopsis
78
78
--------
79
79
For the interface of `std::optional`, see [cppreference](http://en.cppreference.com/w/cpp/utility/optional).
80
80
81
-
*optional bare* uses C++98 only, it does not differentiate its compatibility with `std::optional` based on compiler and standard library support. The following table lists what is **not provided** by *optional bare*.
81
+
*optional bare* uses C++98 only, it does not differentiate its compatibility with `std::optional` based on compiler and standard library support of C++11 and later. *optional bare* does not control whether functions participate in overload resolution based on the value type.
82
+
83
+
The following table gives an overview of what is **not provided** by *optional bare*.
82
84
83
85
| Kind | Item | Remark |
84
86
|------|------------------|--------|
@@ -91,10 +93,13 @@ For the interface of `std::optional`, see [cppreference](http://en.cppreference.
91
93
| Member functions | | |
92
94
|  Construction | optional( optional&& other ) | |
93
95
| | template <class U><br>optional( optional<U>&& other ) | |
96
+
| | template<class U = value_type><br>optional( U&& value ) |provides optional( T const & )|
0 commit comments