From 6c904779afe3f0794343316c340da41ee32834fb Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Wed, 9 Apr 2014 10:03:23 +0800 Subject: [PATCH] fixes #5208 --- doc/container.qbk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/container.qbk b/doc/container.qbk index fb4fd8f5..69df6f8f 100644 --- a/doc/container.qbk +++ b/doc/container.qbk @@ -1007,11 +1007,11 @@ Example: int i; char c; double d; ... - __vector_tie__(i, c, a); + __vector_tie__(i, c, d); The __vector_tie__ function creates a __vector__ of type `__vector__`. The same result could be achieved with the call -__make_vector__(__boost_ref_call__(i), __boost_ref_call__(c), __boost_ref_call__(a)) +__make_vector__(__boost_ref_call__(i), __boost_ref_call__(c), __boost_ref_call__(d)) [footnote see __boost_ref__ for details about `ref`]. A /tie/ can be used to 'unpack' another tuple into variables. E.g.: