C++ bug -- type not matched correctly. The wholeobject type is treated as integer if the single argument to object constructor is integer.
SUPERSET
1
C++
1
Bug
POSTERIOR
NAMES
Implicit Conversion Problem
2
Explicit
2
THEORY TYPE
Technical
DESCRIPTIONS
1
The bandage solution C++ standard comittee came up with is the explicit keyword.
1
Seeing explicit keyword is a good hint we are dealing with a constructor.
1
VERSION NO
1
CREATED AT
UPDATED AT
PRIOR
1
Signed Integer
2
Constructor
SUBSET
1
Implicit Conversion Problem Example
1
Implicit Conversion Problem Example
EXAMPLES