MCPcopy Create free account
hub / github.com/Naios/function2 / no_strong_except

Class no_strong_except

test/regressions.cpp:145–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145struct no_strong_except {
146 no_strong_except() = default;
147 ~no_strong_except() noexcept(false) {
148 }
149 no_strong_except(no_strong_except&&) noexcept(false) {
150 }
151 no_strong_except& operator=(no_strong_except&&) noexcept(false) {
152 return *this;
153 }
154
155 int operator()() const {
156 return 23383;
157 }
158};
159
160static_assert(!std::is_nothrow_move_constructible<no_strong_except>::value, "");
161static_assert(!std::is_nothrow_destructible<no_strong_except>::value, "");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected