What is an explicit constructor, C/C++ Programming

A conversion constructor declared with the explicit keyword. The compiler does not use an explicit constructor to execute an implied conversion of types. Its purpose is reserved explicitly for construction.            

 

 

Posted Date: 4/9/2013 1:00:43 AM | Location : United States







Related Discussions:- What is an explicit constructor, Assignment Help, Ask Question on What is an explicit constructor, Get Answer, Expert's Help, What is an explicit constructor Discussions

Write discussion on What is an explicit constructor
Your posts are moderated
Related Questions
#decode the code

Calculate the area of circle using c program: const float Pi = 3.1415926;   inline float area(const float r) {return Pi * r * r;}   main() {    float radius;

find the occurence of zy in the final string

Define Pure Virtual Function? Why & when it is used?

Convert coordinate: class rect{                 private :                 float  x,y;                   public :                 void  input()

What does throw; (with no exception object after the throw keyword) mean? Where would I employ it? A: You should see code that looks something like this: class MyException

I have an exercise with 2 problems. One that is partially completed except with read problems with memory overwrite, and the other problem. I have enclosed the instructions documen

Write a function that calculates the number of elapsed days between two dates. For example the days between Feb 3, 1970 and June 21, 1980? Becareful for the Leap year

what are assessor. elaborate with clear easy diagrams

Explain about the Variables in c language? The Variable is an identifier that is used to represent some specified kind of information within a designated portion of the program