25 Oct
2016
25 Oct
'16
7:02 p.m.
2016-10-24 22:04 GMT+03:00 Peter Dimov
Antony Polukhin wrote:
I'm writing stacktrace library as a prototype for further adoption into the C++ Standard (I've got big ambitions and groundless optimism). Additional dependency to std::optional could make the adoption harder.
In what way could a dependency on std::optional make the adoption harder? You can't get stacktrace into C++14, can you? C++20 is the earliest possible. And C++17 already has optional.
I've heard rumors a long time ago that std::type_info has no method returning demngled name because that method will add dependency to <string> header for <typeinfo> header. So I prefer to depend on a minimal subset of headers. -- Best regards, Antony Polukhin