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
A: Use references when you can use, and use pointers when you have to. References are generally preferred over pointers whenever you don't require "reseating". Usually this mean

give a program to accept and print 2_D Array

Define External Storage Class - computer programming? When a variable is declared outside a function the storage is permanently assigned to it and its storage class is 'extern'

Overall Program Objective: You will design and simulate a basic RISC processor.   You will create and encode an instruction set.  Your final task will be to "compile" a program

write aprogram in c++ to overload +,-,=,++ operator using unary and friend function in a single program

Determine the size of an interger data type without using sizeof() function? A: #include int main() { int *i ; int *j = i + 1; cout }

big-m method operation reseach in progrmme c++..

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

Ravi is a newbie to the programming and while learning the programming language he came to know the following rules:

Define the Data File in C Programming? Many applications needs that information can written to or read from an auxiliary memory device. Such information is stock up on the memo