
1 Apr
2010
1 Apr
'10
6:17 p.m.
AMDG Niels Dekker - address until 2010-10-10 wrote:
Honestly the MSVC bug just made me more aware that copy-constructors and non-copy-constructors can get confused, in a generic context. But the example I added to the ticket (#3472) would also be ambiguous on other compilers, when value_initialized(T const&) would be added:
class my_integer { value_initialized<int> m_data; public: operator value_initialized<int>() const; operator int() const; };
int main() { my_integer my; value_initialized<int> val(my); }
Um. Why do you /want/ to do this? In Christ, Steven Watanabe