cpp/utility/basic stacktrace/current

Let (0 ≤  < ) denote the -th stacktrace entry in the stacktrace of the current evaluation in the current thread of execution, where  is the count of the stacktrace entries in the stackentry.

@1@ Attempts to create a consisting of, , ...,.

@2@ Attempts to create a consisting of, , ..., , where  is.

@3@ Attempts to create a consisting of, , ..., , where  is  and  is. The behavior is undefined if the (i.e. the mathematical result of  overflows).

In all cases, is stored into the created  and used to allocate the storage for stacktrace entries.

Return value
If the allocation succeeds, the described above.

Otherwise, an empty.