Protect optional's deduction guide with the feature macro
Backport from mainline 2018-01-03 Ville Voutilainen <ville.voutilainen@gmail.com> Protect optional's deduction guide with the feature macro * include/std/optional: Use the feature macro. From-SVN: r256261
This commit is contained in:
parent
a03a98143d
commit
166d8f080c
|
@ -1,3 +1,11 @@
|
|||
2018-01-04 Ville Voutilainen <ville.voutilainen@gmail.com>
|
||||
|
||||
Backport from mainline
|
||||
2018-01-03 Ville Voutilainen <ville.voutilainen@gmail.com>
|
||||
|
||||
Protect optional's deduction guide with the feature macro
|
||||
* include/std/optional: Use the feature macro.
|
||||
|
||||
2017-12-28 François Dumont <fdumont@gcc.gnu.org>
|
||||
|
||||
Backport from mainline
|
||||
|
|
|
@ -1031,7 +1031,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|||
|
||||
/// @}
|
||||
|
||||
#if __cpp_deduction_guides >= 201606
|
||||
template <typename _Tp> optional(_Tp) -> optional<_Tp>;
|
||||
#endif
|
||||
|
||||
_GLIBCXX_END_NAMESPACE_VERSION
|
||||
} // namespace std
|
||||
|
|
Loading…
Reference in New Issue