$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Help identify the conversion bug in MSVC
From: Marcel Raad (raad_at_[hidden])
Date: 2014-09-08 05:11:29
Andrzej Krzemienski <akrzemi1 <at> gmail.com> writes:
> I would like to ask people with the access to MSVC 11.0 and 12.0 to check
> if the bug also persist in these newer releases.
>
> The following code is expected to compile:
> [...]
> The following code is expected *NOT *to compile:
> [...]
> Please let me know what your compiler says.
Both issues persist in MSVC 12 Update 3 as well as MSVC 14 CTP 3.
The error message for the code expected to compile is:
error C2440: 'initializing' : cannot convert from 'B' to 'A'
No constructor could take the source type, or constructor overload
resolution was ambiguous