boostorg / boostorg/type_traits

GCC 4.6 is_nothrow_move_assignable

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

Description

I know that C++11 on GCC < 4.7 is awful, but `true` is not a good default if there is not way to determine noexceptness.

```cpp
#include

struct foo
{
foo& operator=(foo&&) noexcept(false) { throw 0; }
};

static_assert(!boost::is_nothrow_move_assignable::value, "");
```

https://godbolt.org/z/WT3g9q

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.