Hello, Paolo.
Tuesday, October 6, 2009 at 2:05:10 PM you wrote:
PB> On 10/05/2009 09:29 PM, Sergey Sadovnikov wrote:
>> Can anybody explain why line marked with '{*1}' produce this error
>> message:
PB> I think it's because there is no constructor for array that takes an
PB> initializer_list.
On 10/05/2009 09:29 PM, Sergey Sadovnikov wrote:
Can anybody explain why line marked with '{*1}' produce this error
message:
I think it's because there is no constructor for array that takes an
initializer_list. I get this message if I change your {*2} line to:
std::array < wchar_t, sizeof.
Hello all.
I try to compile the following code sample:
(with MinGW gcc version 4.5.0 20090819 (experimental) (GCC))
#include
#include
#include
template
struct Message
{
std::array m_Message;
Message() : m_Message{Chars...} // {*1}
{
std::array msg