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.: