MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1vnp8dk/c26_stdindirect/p3o2jkm/?context=3
r/cpp • u/User_Deprecated • Aug 13 '26
157 comments sorted by
View all comments
Show parent comment
4
The whole point is being able to choose. Sometimes T* -> T* const is desired, and sometimes T* -> T const* const is desired.
T*
T* const
T const* const
View all comments
Show parent comment
4
u/LB-- Professional+Hobbyist Aug 14 '26
The whole point is being able to choose. Sometimes
T*->T* constis desired, and sometimesT*->T const* constis desired.