CPPPROGLIB Telegram 4561
🧨 Почему decltype((var)) это ссылка?

Если a — это переменная, то (a) — это уже lvalue выражение, поэтому decltype((a)) и порождает ссылку

Здесь нету выражения как такового, выведение производится просто из грамматики (синтаксиса определения выражения)
👾8👍7🔥3



tgoop.com/cppproglib/4561
Create:
Last Update:

🧨 Почему decltype((var)) это ссылка?

Если a — это переменная, то (a) — это уже lvalue выражение, поэтому decltype((a)) и порождает ссылку

Здесь нету выражения как такового, выведение производится просто из грамматики (синтаксиса определения выражения)

BY Библиотека C/C++ разработчика | cpp, boost, qt




Share with your friend now:
tgoop.com/cppproglib/4561

View MORE
Open in Telegram


Telegram News

Date: |

A vandalised bank during the 2019 protest. File photo: May James/HKFP. 3How to create a Telegram channel? On Tuesday, some local media outlets included Sing Tao Daily cited sources as saying the Hong Kong government was considering restricting access to Telegram. Privacy Commissioner for Personal Data Ada Chung told to the Legislative Council on Monday that government officials, police and lawmakers remain the targets of “doxxing” despite a privacy law amendment last year that criminalised the malicious disclosure of personal information. Done! Now you’re the proud owner of a Telegram channel. The next step is to set up and customize your channel. 1What is Telegram Channels?
from us


Telegram Библиотека C/C++ разработчика | cpp, boost, qt
FROM American