
8 Feb
2018
8 Feb
'18
6:42 p.m.
What does "not inspected" mean?
Creating a variable and then doing nothing more with it.
Sometimes that's unavoidable e.g. in a stack unwind. I've agreed to the idea though. Tracked at https://github.com/ned14/outcome/issues/134.
This is what I do in my own code. See https://github.com/ned14/afio/blob/master/include/afio/v2.0/config.hpp#L321. This lets one detect, much more easily and without breaking behaviour semantics, unintentionally uninspected outcome/result.
How does that help since there are no hooks for when value(), error(), etc. are called?
Of course there are hooks for those. Just use a custom policy. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/