IssueRaiser

Wouldn't it be better if the error details struct were stack allocated by the caller, rather than being a pointer type that has to be all...

Wouldn't it be better if the error details struct were stack allocated by the caller, rather than being a pointer type that has to be allocated by the error provider? I guess signal safety might not always be important, but it sure could be, and this mechanism doesn't work for that, right?

Posted by jamesaguilar on May 4, 2014, 5:54 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.9,500 issues0 comments

hackernews (Other)

Wouldn't it be better if the error details struct were stack allocated by the caller, rather than being a pointer type that has to be all...

jamesaguilarMay 4, 2014, 5:54 AM

Wouldn't it be better if the error details struct were stack allocated by the caller, rather than being a pointer type that has to be allocated by the error provider? I guess signal safety might not always be important, but it sure could be, and this mechanism doesn't work for that, right?

Comments (0)

No comments yet. Start the discussion.

Comment on this issue