Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This sounds elegant in theory but very thorny in practice even with a standards change, at least in C++ (though I don't believe the issues are that particular to the language). Like how do you want the equivalent of std::cout << your_different_str to behave? What about with third-party functions and extension points that previously took strings?


Isn't that where C++20 concepts come in?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: