From: Ben Cooling (ben.cooling_at_[hidden])
Date: 2001-10-30 08:45:06
>From: Mac Murrett [mailto:mmurrett_at_[hidden]]
>Sent: 20 October 2001 23:25
>Subject: Re: [boost] Packed Strings?
>I assume that you mean the case in which charT is a reference
>(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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk