The following conversion features are unsupported.
class A{
public:
int m;
S(int x):m(x){};
};
int f(A a) {return a.m};
int b = f(5) /*value of b should be 5 because of explicit conversion of f parameter(b = f(A(5)))*/
struct T{
int m;
T() { m = 0; }
} t;
struct S {
operator T() { counter++; return t; }
} s00;
T t00 = s00; ---------------^------Constructor call with wrong number of arguments
The following topics are covered here: