StackOverflow Questions for Tag: as-if

gexicide
gexicide

Reputation: 40058

Why can't the C++ compiler elide the move when moving a POD into an optional with RVO?

Score: 3

Views: 163

Answers: 2

Read More
Dr. Gut
Dr. Gut

Reputation: 2836

Aliasing signed and unsigned integers during optimization

Score: 2

Views: 112

Answers: 1

Read More
wolfofuniverse
wolfofuniverse

Reputation: 441

What is the rationale behind copy elision in C++?

Score: 3

Views: 221

Answers: 2

Read More
Yves
Yves

Reputation: 12371

Is this execution reordering possible

Score: 1

Views: 196

Answers: 0

Read More
463035818_is_not_an_ai
463035818_is_not_an_ai

Reputation: 122133

Timing vs the "as-if" rule

Score: 4

Views: 205

Answers: 2

Read More
Yves
Yves

Reputation: 12371

Does as-if rule allow this kind of execution reordering

Score: 1

Views: 135

Answers: 1

Read More
Alok Save
Alok Save

Reputation: 206508

What exactly is the "as-if" rule?

Score: 113

Views: 14395

Answers: 3

Read More
abigaile
abigaile

Reputation: 321

Is the explanation of relaxed ordering erroneous in cppreference?

Score: 15

Views: 750

Answers: 3

Read More
Tarc
Tarc

Reputation: 3312

Where are the statement of or the foundations for the "as if" rule in the C++ Standard?

Score: 4

Views: 113

Answers: 2

Read More
Willy
Willy

Reputation: 581

About time/space complexity in C/C++ standards

Score: 3

Views: 877

Answers: 3

Read More
nnolte
nnolte

Reputation: 1780

Why is copy elision an exception to the as-if rule?

Score: 1

Views: 209

Answers: 2

Read More
Johan Lundberg
Johan Lundberg

Reputation: 27038

as-if rule and removal of allocation

Score: 9

Views: 258

Answers: 1

Read More
SudarakaR
SudarakaR

Reputation: 937

Loop with a zero execution time

Score: 75

Views: 5236

Answers: 4

Read More
user4714342
user4714342

Reputation: 11

Why can't an infinite loop be eliminated?

Score: 1

Views: 108

Answers: 1

Read More
Learning is a mess
Learning is a mess

Reputation: 8277

Evaluation of constants in for loop condition

Score: 2

Views: 1177

Answers: 4

Read More
Eric Z
Eric Z

Reputation: 14505

Is store reordering allowed by C++ as-if rule?

Score: 4

Views: 268

Answers: 2

Read More
PreviousPage 1Next