diff options
| author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2016-07-06 16:26:10 +0300 |
|---|---|---|
| committer | Ville Voutilainen <ville@gcc.gnu.org> | 2016-07-06 16:26:10 +0300 |
| commit | 6ffe854859e61fd04e1db8694e2c519f4010647b (patch) | |
| tree | 957dd6c8746ccbf44024331b3ac6724659ec9dbe /libjava/java/io/ObjectOutputStream$2.h | |
| parent | e4bbb037670323fbc578b6bc68cfb5252f1bf0cc (diff) | |
| download | gcc-6ffe854859e61fd04e1db8694e2c519f4010647b.zip gcc-6ffe854859e61fd04e1db8694e2c519f4010647b.tar.gz gcc-6ffe854859e61fd04e1db8694e2c519f4010647b.tar.bz2 | |
Implement LWG 2451, optional<T> should 'forward' T's implicit conversions.
Implement LWG 2451, optional<T> should 'forward' T's
implicit conversions.
* include/experimental/optional (__is_optional_impl, __is_optional):
New.
(optional()): Make constexpr and default.
(optional(_Up&&), optional(const optional<_Up>&),
optional(optional<_Up>&& __t): New.
(operator=(_Up&&)): Constrain.
(operator=(const optional<_Up>&), operator=(optional<_Up>&&)): New.
* testsuite/experimental/optional/cons/value.cc:
Add tests for the functionality added by LWG 2451.
* testsuite/experimental/optional/cons/value_neg.cc: New.
From-SVN: r238049
Diffstat (limited to 'libjava/java/io/ObjectOutputStream$2.h')
0 files changed, 0 insertions, 0 deletions
