mirror of
https://github.com/boostorg/optional.git
synced 2026-02-08 23:12:09 +00:00
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();
|
|
} |