forked from boostorg/optional
14 lines
100 B
C++
14 lines
100 B
C++
struct A
|
|
{
|
|
A(int) {}
|
|
};
|
|
|
|
struct B
|
|
{
|
|
operator int() { return 0; }
|
|
};
|
|
|
|
int main()
|
|
{
|
|
A t = B();
|
|
} |