Search code examples
Are there cases where a "finally" construct would be useful in C++?...

c++raiifinally

Read More
What is standard defer/finalizer implementation in C++?...

c++boostgostlraii

Read More
How to construct an array using make_unique...

c++unique-ptrraiistdarray

Read More
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
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
BackNext