StackOverflow Questions for Tag: noexcept

Konvt
Konvt

Reputation: 127

Can a function be marked noexcept if it takes a value type that may throw?

Score: 4

Views: 129

Answers: 1

Read More
Konvt
Konvt

Reputation: 127

Issue with exception constructor parameter type in the standard library

Score: 2

Views: 89

Answers: 1

Read More
wanghan02
wanghan02

Reputation: 1317

Why is clang not consistent on noexcept(++it) and noexcept(*it) for containers?

Score: 0

Views: 75

Answers: 0

Read More
Matias Grioni
Matias Grioni

Reputation: 316

Clarification on noexcept qualifier for wrapper functor using std::is_nothrow_invocable variants

Score: 1

Views: 38

Answers: 0

Read More
Eternal
Eternal

Reputation: 2907

Is there a way to access a variable in a thread-safe way with nothrow guarantee when std::atomic is not an option?

Score: 2

Views: 79

Answers: 1

Read More
Mattia F.
Mattia F.

Reputation: 1740

Can the compiler decide the noexcept'ness of a function?

Score: 5

Views: 117

Answers: 1

Read More
Penny Dreudter
Penny Dreudter

Reputation: 731

Under what situations is the compiler meant to generate exception handling code with noexcept functions?

Score: 9

Views: 130

Answers: 1

Read More
DoZerg
DoZerg

Reputation: 323

Short-circuit in noexcept expressions

Score: 4

Views: 129

Answers: 2

Read More
ENIAC
ENIAC

Reputation: 1023

Proper Usage of `noexcept`

Score: 4

Views: 982

Answers: 3

Read More
Caduchon
Caduchon

Reputation: 5191

Understand what really happens when calling a throwing function in a noexcept function

Score: 19

Views: 810

Answers: 3

Read More
user19946454
user19946454

Reputation:

Recursive use of noexcept operator compiles in gcc but not in clang and msvc

Score: 7

Views: 212

Answers: 1

Read More
Tippa Toppa
Tippa Toppa

Reputation: 21

Conditions for the noexcept expression

Score: 0

Views: 80

Answers: 0

Read More
smitsyn
smitsyn

Reputation: 722

Should std::variant be nothrow destructible when its alternative has potentially throwing destructor?

Score: 8

Views: 305

Answers: 2

Read More
Generic Name
Generic Name

Reputation: 1270

Why does a throwing move constructor result in copying instead of moving where a strong exception guarantee is given?

Score: 37

Views: 19787

Answers: 2

Read More
LoS
LoS

Reputation: 1825

Why is the clear() function noexcept while the destructor not?

Score: 1

Views: 202

Answers: 1

Read More
user24551355
user24551355

Reputation: 414

Can I mark a function with noexcept if it has an argument passed by copy?

Score: 4

Views: 175

Answers: 1

Read More
LoS
LoS

Reputation: 1825

Why does std::vector's swap function have a different noexcept specification than all other container's swap functions?

Score: 24

Views: 1012

Answers: 1

Read More
Felix
Felix

Reputation: 7146

Does adding noexcept break binary compatibility?

Score: 14

Views: 847

Answers: 2

Read More
user11611653
user11611653

Reputation: 139

What is the correct form of passing parameters to std::is_nothrow_assignable -like functions in C++?

Score: 4

Views: 146

Answers: 1

Read More
user11611653
user11611653

Reputation: 139

Should I use noexcept specifier and noexcept operator in most functions in C++?

Score: 0

Views: 302

Answers: 1

Read More
PreviousPage 1Next