Boost logo

Boost :

Subject: Re: [boost] [outcome] comments on Regular ops
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2018-01-23 09:26:01


> This could be handled by providing a dedicated heterogeneous comparison
> between `result<T, EC>` and `EC`. But my preference would be a dedicated
> function.

I'm still not sure if the current "loose comparison" functionality ought
to be in Outcome at all. But if it were, it would almost certainly be
free functions in the `utils` namespace in my opinion e.g.
`utils::loose_compare(a, b)` or something like that.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/

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