Can you explain the term "resource acquisition is
initialization?"

Answer Posted / melos

RAAI is the concept of releasing the aquired
memory/resources when the object goes out of scope.
E.g. std::auto_ptr

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define virtual constructor.

643


What's the order in which the objects in an array are destructed?

863


Will rust take over c++?

598


What are the effects after calling the delete this operator ?

563


What are protected members in c++?

623






What is the type of 'this' pointer? When does it get created?

552


How java is different from c and c++?

651


How new/delete differs from malloc()/free?

620


Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened

1082


What is the difference between strcpy() and strncpy()?

614


Is swift a good first language?

592


Write about c++ storage classes?

757


What is meant by entry controlled loop? What all C++ loops are exit controlled?

574


What are the differences between malloc() and calloc()?

617


How can I learn c++ easily?

626