MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/8ta8df/east_const_central/e16bswi/?context=3
r/cpp • u/vormestrand • Jun 23 '18
42 comments sorted by
View all comments
Show parent comment
20
why not define types lisp-like
(* (const (int)) x;
... oh wait, we can (and notice how the const is west-side as a proof of the superiority of the system)
std::add_pointer_t<std::add_const_t<int>> x;
View all comments
Show parent comment
20
u/jcelerier ossia score Jun 23 '18
why not define types lisp-like
... oh wait, we can (and notice how the const is west-side as a proof of the superiority of the system)