carries-dependency Questions

1

Solved

I was reading about [[carries_dependency]] in this SO post. But what I could not understand is the below sentences in the accepted answer : "In particular, if a value read with memory_order_c...
Squander asked 29/9, 2020 at 5:9

2

Solved

I've found questions (like this one) asking what [[carries_dependency]] does, and that's not what I'm asking here. I want to know when you shouldn't use it, because the answers I've read all make ...

2

Solved

Can someone explain it in a language that mere mortals understand?

1

In [dcl.attr.depend]/1, I read: The attribute[...] carries_dependency [...] may be applied to the declarator-id of a parameter-declaration in a function declaration or lambda, in which case it ...
Zetta asked 3/7, 2012 at 15:47
1

© 2022 - 2024 — McMap. All rights reserved.