bitwizeshift / bitwizeshift/result

Error compilling result.hpp on apple-clang.

Open
#6 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
313
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Linux Compier: GCC 11
Mac Compiler: latest apple-clang

The resulting code works on linux / gcc, but on mac I get:

```
/result.hpp:3524:82: error: ISO C++ requires the name after '::~' to be found in the same scope as the name before '::~' [-Werror,-Wdtor-name]
inline RESULT_INLINE_VISIBILITY RESULT_NS_IMPL::detail::result_union::~result_union() noexcept(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
::result_union
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.