2 // { dg-do compile { target c++11 } }
8 constexpr tuple(Xn const& xn)
12 template <typename ...dummy>
13 constexpr tuple(tuple const& other)
14 : storage_(other.storage_)
17 template <typename ...dummy>
18 constexpr tuple(tuple& other)
19 : tuple(const_cast<tuple const&>(other))
24 struct wrapper { T value; };
27 constexpr wrapper<T> wrap(T t) { return {t}; }
29 constexpr wrapper<tuple<int>> t = wrap(tuple<int>{2});
30 static_assert(t.value.storage_ == 2, "");