Boost logo

Boost :

Subject: Re: [boost] [next gen future-promise] What to call the monadic returntype?
From: Peter Dimov (lists_at_[hidden])
Date: 2015-05-25 08:51:59


Niall Douglas wrote:

> https://svn.boost.org/trac/boost/wiki/BestPracticeHandbook#a8.DESIGN:Stronglyconsiderusingconstexprsemanticwrappertransporttypestoreturnstatesfromfunctions

This section is called

"(Strongly) consider using constexpr semantic wrapper transport types to
return states from functions"

but I see nothing constexpr in it - the result of calling ::open can never
be constexpr.

Could you perhaps elaborate a bit on the "constexpr semantic" part?


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