What is an explicit constructor
What is an explicit constructor?
A: A conversion constructor declared with the explicit keyword. The compiler does not use an explicit constructor to implement an implied conversion of types. It’s purpose is reserved explicitly for construction.
No comments:
Post a Comment
comment on this post
Note: Only a member of this blog may post a comment.
‹
›
Home
View web version
No comments:
Post a Comment
comment on this post
Note: Only a member of this blog may post a comment.