mirror of
https://github.com/boostorg/container.git
synced 2026-02-26 16:42:19 +00:00
Fixed Trac #11697 ("Wrong initialization order in tuple copy-constructor")
This commit is contained in:
@@ -54,7 +54,7 @@ class tuple<Head, Tail...>
|
||||
// Construct tuple from another tuple.
|
||||
template<typename... VValues>
|
||||
tuple(const tuple<VValues...>& other)
|
||||
: m_head(other.head()), inherited(other.tail())
|
||||
: inherited(other.tail()), m_head(other.head())
|
||||
{}
|
||||
|
||||
template<typename... VValues>
|
||||
|
||||
Reference in New Issue
Block a user