Import fix for narrowing conversions from the relevant LWG issue

This commit is contained in:
Marc Glisse 2010-07-08 09:12:23 +00:00
parent 599b23129e
commit 6ea5914309
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ inline
cpp0x::array< T, 1 + sizeof...(Args) >
make_array(const T & t, const Args & ... args)
{
cpp0x::array< T, 1 + sizeof...(Args) > a = { { t, args... } };
cpp0x::array< T, 1 + sizeof...(Args) > a = { { t, static_cast<T>(args)... } };
return a;
}