Why std::optional
(std::experimental::optional
in libc++ at the moment) does not have specialization for reference types (compared with boost::optional
)?
I think it would be very useful option.
Is there some object with reference to maybe already existing object semantics in STL?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…