You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A copy of a concurrent bounded queue doesn't preserve capacity of the original queue object.
Version
2021.10.0
Environment
gcc 13.1.0
Observed Behavior
If I set capacity to an instance of concurrent bounded queue and then make a copy of this queue, capacity of the copied object is set to the default value (0x3fffffffffffffff)
Expected Behavior
I would expect the copy of the queue having the same capacity as the original one.
Steps To Reproduce
The following code can be used to reproduce the issue:
Summary
A copy of a concurrent bounded queue doesn't preserve capacity of the original queue object.
Version
2021.10.0
Environment
gcc 13.1.0
Observed Behavior
If I set capacity to an instance of concurrent bounded queue and then make a copy of this queue, capacity of the copied object is set to the default value (0x3fffffffffffffff)
Expected Behavior
I would expect the copy of the queue having the same capacity as the original one.
Steps To Reproduce
The following code can be used to reproduce the issue:
It produces the following output:
The text was updated successfully, but these errors were encountered: