Boost logo

Boost :

Subject: Re: [boost] [gsoc-2013] Boost.Expected
From: TONGARI (tongari95_at_[hidden])
Date: 2013-05-01 12:27:52


Hi,

2013/5/1 Pierre T. <ptalbot_at_[hidden]>

> On 04/30/2013 07:00 PM, Vicente Botet wrote:
>
>> Pierre T. wrote
>>
>>> Hello,
>>>
>>> I put my proposal on google-melange:
>>>
>>> https://google-melange.**appspot.com/gsoc/proposal/**
>>> review/google/gsoc2013/**trademark/25002<https://google-melange.appspot.com/gsoc/proposal/review/google/gsoc2013/trademark/25002>
>>>
>>> Badly, I have troubles with the html formatting because we can't easily
>>> add CSS and because the CSS of the page interferes with the html code.
>>> It's the result of converting a latex file into a html file. So please
>>> follow the link in the additional info to get a good PDF version.
>>>
>>> Do you think I need to format by hand the proposal or does the link to
>>> the pdf is enough?
>>>
>>
>> Yes. I would prefer if you can provide a proposal that is well formatted
>> in
>> addition to your pdf file. Note that not all the mentors would open the
>> pdf
>> file when evaluating your proposal.
>>
>> I entirely reformatted it. I think is much more readable now.
>

I didn't follow this thread closely, but have you consider an implicit
convert operator to value_type? e.g.

    expected<SomeType> f();

    SomeType var = f(); // throws on error

It's most intuitive to me.


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