variant: include bits/move.h for std::addressof.

2016-09-05  Tim Shen  <timshen@google.com>

	* include/std/variant: include bits/move.h for std::addressof.

From-SVN: r240001
This commit is contained in:
Tim Shen 2016-09-05 19:52:11 +00:00 committed by Tim Shen
parent de9188e004
commit f75d599982
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2016-09-05 Tim Shen <timshen@google.com>
* include/std/variant: include bits/move.h for std::addressof.
2016-09-05 Mikhail Strelnikov <mikhail.strelnikov@gmail.com>
* include/std/variant (_Variant_storage::_M_storage()): Use std::addressof

View File

@ -38,6 +38,7 @@
#include <type_traits>
#include <utility>
#include <bits/enable_special_members.h>
#include <bits/move.h>
#include <bits/uses_allocator.h>
namespace std _GLIBCXX_VISIBILITY(default)