Boost logo

Boost :

Subject: Re: [boost] Outcome v2 is feature complete
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-07-11 22:08:33


> If that's the problem, you could use
>
> template<class A1, class A2, class... A>
> result( A1&& a1, A2&& a2, A&&... a );
>
> which would be rejected immediately in the one-arg case and hence
> shouldn't affect its compile times. I SFINAE on sizeof...(A) >= 2
> instead, but I might switch.

Ok, these are now implemented in develop branch with test cases. Appear
to work well and no measurable effects on compile times thanks to the
two arg form. Thanks for the idea Peter.

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