Boost logo

Boost :

Subject: Re: [boost] [outcome] High level summary of review feedback accepted so far
From: Peter Dimov (lists_at_[hidden])
Date: 2017-06-03 16:27:51


Vicente J. Botet Escriba wrote:

> What about the non-member function, so that we don't have code as
> x.template subset<E2...>() and we have subset<E2...>(x) instead?

You're right about the need for .template here, but I'm not sure that the
need to call this function would be frequent enough to justify putting it
into the outer namespace (potentially std). Leaving it as a member seems an
acceptable compromise to me.

Do you have any comments about my proposed expected<T, E...>? Overall
impression? Good idea? Bad, no reason to waste time with it?


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