How to deal with historic exception specifications in maintained C++ code
Today, I discovered a few exception specifications in legacy code I’ve to maintain, when Cppcheck 1.68 ([Inconclusive]
but correctly) pointed out that the specified exceptions are not handled in specific portions of the code.
How to deal with historic exception specifications in maintained C++ code
Today, I discovered a few exception specifications in legacy code I’ve to maintain, when Cppcheck 1.68 ([Inconclusive]
but correctly) pointed out that the specified exceptions are not handled in specific portions of the code.
How to deal with historic exception specifications in maintained C++ code
Today, I discovered a few exception specifications in legacy code I’ve to maintain, when Cppcheck 1.68 ([Inconclusive]
but correctly) pointed out that the specified exceptions are not handled in specific portions of the code.
Should a lockfree queue use a condition variable?
Suppose I have a lockfree queue in a multithreaded setting. I already provide a try_dequeue()
method which allows for an optional failure (communicated via the return type) if the queue is empty.
Should a lockfree queue use a condition variable?
Suppose I have a lockfree queue in a multithreaded setting. I already provide a try_dequeue()
method which allows for an optional failure (communicated via the return type) if the queue is empty.
Should a lockfree queue use a condition variable?
Suppose I have a lockfree queue in a multithreaded setting. I already provide a try_dequeue()
method which allows for an optional failure (communicated via the return type) if the queue is empty.
Will destructing a large list overflow my stack?
Consider the following singly linked list implementation:
Will destructing a large list overflow my stack?
Consider the following singly linked list implementation:
Will destructing a large list overflow my stack?
Consider the following singly linked list implementation:
Will destructing a large list overflow my stack?
Consider the following singly linked list implementation: