When i throw this object,how several times will it be copied, C/C++ Programming

A: Depends. Might be "zero"

Objects which are thrown must have a publicly accessible copy-constructor. The compiler is permitted to generate code which copies the thrown object any number of times, by including zero. Though even if the compiler never in fact copies the thrown object, it has to make sure the exception class's copy constructor presents and is accessible.

 

Posted Date: 3/19/2013 8:53:10 AM | Location : United States







Related Discussions:- When i throw this object,how several times will it be copied, Assignment Help, Ask Question on When i throw this object,how several times will it be copied, Get Answer, Expert's Help, When i throw this object,how several times will it be copied Discussions

Write discussion on When i throw this object,how several times will it be copied
Your posts are moderated
Related Questions
Create a pseudocode in getting Calendar Quarter. The program should identify which quarter falls the given date. Note: Consider the date format DDMMYYYY.

Prepare Windows Shell Extension Project Description: Skills required are C++ Programming, Windows Desktop, Windows API

Consider text comprised of sentences and sentences comprised of words. Words in a sentence will be space delimited. Given a text and K strings, task is to find out the number valid

Illustration of Grid function: For illustration, the script below creates two individual figure windows. At First, it clears the figure window. Then, it generates an x vector

Explain the Declaration of Multi Dimensional Arrays? In the figure, the range in the first dimension is 3 and in the second dimension is 4. The shaded portion corresponds to th

Project Description: I will need a tutor that would help me out in Data Structure and learning Algorithm more at the mathematical/algorithmic level. The book is written by "by T

what is the diffeerence between c and c++

#questionHi, I am looking for help with the assignment, can you help..


Define register with bit fields? We could define register simply with bit fields: struct DISK_REGISTER { unsigned ready:1; unsigned error_occured:1; unsigned disk_spinni