Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2024-12-03 21:07:08


On Tue, Dec 3, 2024 at 12:09 PM Peter Dimov via Boost <boost_at_[hidden]>
wrote:

> pair<string, string>( "foo", "bar" )
> pair<string, string>( "foob", "ar" )
> pair<string, string>( "fooba", "r" )
>

But....but... in each of these cases where there are two strings, the
strings also submit their size after the data, thus these would not be
equivalent:

    { "foo", 3, "bar", 3 }
    { "foob", 4, "ar", 2 }
    { "fooba", 5, "r", 1 }

Or am I missing something?

Thanks


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk