
10 Feb
2007
10 Feb
'07
2:03 a.m.
Felipe Magno de Almeida wrote:
Why would it? T* and T& have very different semantics.
An optional T& has closer semantics to T* than a non-optional one. The most important thing, however, is that it will be more efficient given the implementation of optional (optional could eventually fix that with a specialization).