diff options
author | Tim Shen <timshen@google.com> | 2016-08-18 20:31:26 +0000 |
---|---|---|
committer | Tim Shen <timshen@gcc.gnu.org> | 2016-08-18 20:31:26 +0000 |
commit | 197c757cb11681a6ff6df1491ebfde4f5a392627 (patch) | |
tree | bc774dd64d1e9187c477c6aa386748350ca8e8d1 /libcpp | |
parent | cc015f3abebcfe84c64a38d1198ad4601e36893c (diff) | |
download | gcc-197c757cb11681a6ff6df1491ebfde4f5a392627.zip gcc-197c757cb11681a6ff6df1491ebfde4f5a392627.tar.gz gcc-197c757cb11681a6ff6df1491ebfde4f5a392627.tar.bz2 |
Implement <variant>
* include/Makefile.am: Add new file std/variant.
* include/Makefile.in: Generated from Makefile.am.
* include/bits/enable_special_members.h: Add a tag type to allow
the construction in non-default constructor.
* include/bits/uses_allocator.h: Add convenience traits to
detect constructibility.
* include/std/variant: Implement <variant>.
* testsuite/20_util/variant/compile.cc: Compile-time tests.
* testsuite/20_util/variant/run.cc: Runtime tests.
From-SVN: r239590
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions