You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The standard wording sometimes uses add_const_t and add_volatile_t when plain const and volatile are sufficient. IIUC the difference is that add_*_t block template argument deduction like type_identity_t, but we never use add_*_t in such contexts.
Would it be better to use plain const and volatile?
The text was updated successfully, but these errors were encountered:
The standard wording sometimes uses
add_const_t
andadd_volatile_t
when plainconst
andvolatile
are sufficient. IIUC the difference is thatadd_*_t
block template argument deduction liketype_identity_t
, but we never useadd_*_t
in such contexts.Would it be better to use plain
const
andvolatile
?The text was updated successfully, but these errors were encountered: