Protect optional's deduction guide with the feature macro
* include/std/optional: Use the feature macro. From-SVN: r256185
This commit is contained in:
parent
72df5daa5c
commit
8bdbeed1d0
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
||||
2018-01-03 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
Update copyright years.
|
||||
|
|
|
@ -1038,7 +1038,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