→ Sidney0503: So being氲onst氽oesn’t say much for a reference, 07/13 18:58
→ Sidney0503: since they always乸re氲onst, since they cannot reb 07/13 18:59
→ Sidney0503: 這種語言我也看不懂 07/13 18:59
→ Lipraxde: So being const doesn’t say much for a reference, s 07/13 19:23
→ Lipraxde: ince they always are const, since they cannot rebin 07/13 19:23
→ Lipraxde: d. This implies that const (int&) is effectively th 07/13 19:23
→ Lipraxde: e same type as int&. 07/13 19:23
→ Lipraxde: 大概是這樣? 07/13 19:23
→ shadow0326: 他是一層一層把語意消掉,T& const 等價於 T& 07/13 21:44
→ shadow0326: 而 (T&)& 等價於 T&,所以得到 (T&) const & 等價於T& 07/13 21:45
→ lovejomi: 我也不知道為什麼手機貼上都正確 送出就變亂碼...moptt 07/13 23:41
→ lovejomi: 所以簡單講就是int&& collapse 成int&, 然後int&const沒 07/13 23:44
→ lovejomi: 意義,所以const直接忽略? 07/13 23:44
→ sarafciel: const (int&) & =>const 修飾 (int &) =>reference自帶 07/14 00:17
→ sarafciel: const語意,去掉const =>int & & =>做collapse=>int &( 07/14 00:17
→ sarafciel: 相當於 int const *) 我感覺是這樣 07/14 00:17