Search code examples
How to implement RAII of CUDA API type cudaEvent_t using shared_ptr...


cudashared-ptrraii

Read More
How can I create a smart pointer that locks and unlocks a mutex?...


c++thread-safetymutexsmart-pointersraii

Read More
member vector with base class pointers...


c++pointerspolymorphismraiicopy-assignment

Read More
Stroustroup: free(): double free detected in tcache 2 when implementing vector::reserve()...


c++raii

Read More
Passing RAII socket class to thread...


c++multithreadingsocketsvariadic-templatesraii

Read More
How to ensure (like a try-finally) destruction of a HEAP-ALLOCATED object...


c++heap-memoryraiitry-finally

Read More
Does C++ 17 STL std::string_view fulfill RAII design philosiphy?...


c++raiistring-view

Read More
best practice for getting polymoprhic behavior for one data member of an abstract base class...


c++inheritanceraii

Read More
Alloc memory in constructor or init function?...


c++oopconstructorinitializationraii

Read More
What is the OCaml counterpart to Python's "with"-statement (automatic release of resou...


pythonocamlwith-statementraii

Read More
Do programmers of other languages, besides C++, use, know or understand RAII?...


c++language-agnosticraii

Read More
How to ensure correct destruction of vk::UniqueBuffer and vk::UniqueDeviceMemory...


c++vulkanraii

Read More
How do I design a function with a strong exception guarantee?...


c++raiiexception-safety

Read More
C++ RAII vs. defer?...


c++raii

Read More
C++ using RAII to create an array...


c++arraysc++11raii

Read More
Does RAII support resource ownership transfer?...


c++raii

Read More
Read a file using C++ and RAII...


c++raii

Read More
What is a "prospective destructor" in C++20?...


c++language-lawyerdestructorc++20raii

Read More
What should the default constructor do in a RAII class with move semantics?...


c++c++11move-semanticsraii

Read More
C++ Order of class members when smart pointers are involved matters...


c++smart-pointersunique-ptrraii

Read More
How can I test RAII?...


rustraii

Read More
Does ScopeGuard use really lead to better code?...


c++raiiscopeguard

Read More
Does PHP support the RAII pattern? How?...


phpraii

Read More
Confusing idiom name RAII...


c++raii

Read More
Is it abusive to use IDisposable and "using" as a means for getting "scoped behavior&...


c#exceptionraii

Read More
call function when leaving scope...


c++c++11scoperaii

Read More
How should errors be handled when creating RAII classes?...


c++raii

Read More
C++ automatic finalization or objects destruction...


c++stlraiicode-structurefinalization

Read More
How to take ownership of an object while looping over std::vector of std::unique_ptr using a range b...


c++for-loopunique-ptrraiiownership

Read More
What does the parking_lot documentation mean when it says 'allow raw (un)locking without a RAII ...


rustmutexraii

Read More
BackNext