diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-04-09 19:50:48 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-04-09 19:50:48 +0100 |
commit | 9d89b73c06c84ef461da270830f18a7703503e09 (patch) | |
tree | ac10bbd8a21bb6af75c1858e4798f42dcb95f8a2 /gcc | |
parent | 8701cb5e0dc0a3b949bb28f3ff9ee5bae98c47fe (diff) | |
download | gcc-9d89b73c06c84ef461da270830f18a7703503e09.zip gcc-9d89b73c06c84ef461da270830f18a7703503e09.tar.gz gcc-9d89b73c06c84ef461da270830f18a7703503e09.tar.bz2 |
Add comments and style fixes to <variant>
* include/std/variant: Adjust whitespace. Add comments.
(_Multi_array): Leave primary template undefined.
(_Multi_array<_Tp>): Define partial specialization for base case of
recursion.
(__gen_vtable_impl, __gen_vtable): Remove redundant && from type
which is always a reference.
(__gen_vtable::_S_apply()): Remove function, inline body into
default member initializer.
* testsuite/20_util/variant/visit.cc: Test with noncopyable types.
From-SVN: r270238
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions