为什么我试了下case5是move的?
string的data()返回的地址是一样的
【 在 allegro (静水流深) 的大作中提到: 】
: I read again the NRVO carefully, seems I mis-understand the NRVO in case 5.
: NRVO needs to know which variable to return at construction.
: But still I have question for case-5, const effectively blocks the move ctor.
: ...................
--
FROM 171.83.6.*