Skip to content

Conversation

@akrzemi1
Copy link
Collaborator

This is the first step to providing a full fledged Motivation section in the docs. For now, I am only changing the structure. I also fixed the unnecessary double parentheses around 2-or-more-argument version of OUTCOME_TRY.

```c++
int a()
{
f();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to comment that the C++ standard calls this "sequenced before"

This makes failure handling extremely easy: in a lot of cases you do not have
to do anything.

But there is run-time cost to be payed when using exceptions.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

payed = paid. I'm also unsure whether you should say "run-time" here, and instead just say plain "cost".

I have implemented Niall's suggestions. For now, I just treat it as a placeholder. I want to check if I got the source file structure correct.
@ned14 ned14 merged commit 761d721 into ned14:develop Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants