Boost logo

Boost :

Subject: Re: [boost] Review Manager needed for stacktrace library
From: Peter Dimov (lists_at_[hidden])
Date: 2016-10-25 17:19:26


Antony Polukhin wrote:

> 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.

type_info instances are generated by the compiler, so this header is a
special case.

Either way, the original request was for file/line info, right? const char*
file() const can return NULL, int line() const can return 0 or -1, when not
present. There's no need for optional here.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk