SpiceQA
Questions
Tags
Users
Badges
raii
47 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
`std::lock_guard` for `std::counting_semaphore` and `std::binary_semaphore`
user_3043948
0
•
asked Aug 23, 2022
6
2
127
c++20
raii
locking
c++
semaphore
Idiomatically, should python context managers acquire resources at initialization, or when entered?
user_1958900
0
•
asked Aug 16, 2022
1
0
42
contextmanager
idioms
raii
python-3.x
python
Why std::shared_ptr control block need to hold a pointer to managed object with its correct type
user_4208109
0
•
asked Jul 10, 2022
3
1
109
tr1
raii
shared-ptr
c++
Concise RAII for Trompeloeil mocks
user_1381158
0
•
asked Mar 25, 2022
1
1
48
trompeloeil
raii
mocking
c++
std::move() a stack allocated unordered_map?
user_11770390
0
•
asked Jan 28, 2022
1
1
76
unordered-map
move
stack-memory
raii
heap-memory
Is it correct to call std::move on an exception object?
user_17742586
0
•
asked Dec 22, 2021
3
2
109
raii
c++11
exception
c++
Alloc memory in constructor or init function?
user_11304498
0
•
asked May 20, 2021
4
4
242
raii
initialization
constructor
oop
c++
How do I design a function with a strong exception guarantee?
user_12276119
0
•
asked Apr 13, 2021
3
4
154
exception-safety
raii
c++
C++ RAII vs. defer?
user_1018582
0
•
asked Mar 17, 2021
3
2
1091
raii
c++
Does RAII support resource ownership transfer?
user_12520526
0
•
asked Feb 27, 2021
4
3
344
raii
c++
1
(current)
2
3
4
5
Next
Next
Hot Questions