Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix link to design.md #25

Merged
merged 1 commit into from
Oct 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix link to design.md
  • Loading branch information
Oliver Old authored Oct 21, 2022
commit b3140a146f75c914a46dcc0164ca61f5f22b04ff
4 changes: 2 additions & 2 deletions docs/interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ can be defined to require _nothrow-invocable_ callbacks in `make_scope_guard`
at compile time.

Notice however, that this restricts accepted callback types
[considerably](design#implications-of-requiring-noexcept-callbacks-at-compile-time).
[considerably](design.md#implications-of-requiring-noexcept-callbacks-at-compile-time).

This option is disabled by default and enabling it has no effect unless
≥C++17 is used.
Expand All @@ -266,4 +266,4 @@ This option is disabled by default and enabling it has no effect unless
#include "scope_guard.hpp"
make_scope_guard([](){}); // ERROR: need noexcept (if >=C++17)
make_scope_guard([]() noexcept {}); // OK
```
```