Return a bsl::pair object holding a reference to the specified first and a reference to the specified second, respectively.

Synopsis

Declared in <bdlb_pairutil.h>

template<
    class t_FIRST,
    class t_SECOND>
static
bsl::pair<t_FIRST&, t_SECOND&>
tie(
    t_FIRST& first,
    t_SECOND& second);

Return Value

bsl::pair of references to first and second

Parameters

Name

Description

first

first element to which the result refers

second

second element to which the result refers

Created with MrDocs