Boost logo

Boost :

From: Ben Cooling (ben.cooling_at_[hidden])
Date: 2001-10-30 08:45:06

>-----Original Message-----
>From: Mac Murrett [mailto:mmurrett_at_[hidden]]
>Sent: 20 October 2001 23:25
>To: boost
>Subject: Re: [boost] Packed Strings?
>I assume that you mean the case in which charT is a reference
>to something
>(i.e. long &).

        No, he means "how do you take a reference to a character held in a packed
string?". Answer: you can't (I think there were similar problems with the
standard specialisation of std::vector<bool>).

        Of course, you are not allowed to have charT be a reference to something,
as references do not have the correct copy semantics to be stored in an std
container (or pseudo-container such as string).



Boost list run by bdawes at, gregod at, cpdaniel at, john at