Add more information about make_array().

It's potentially removable, actually, apart from VC++ being too buggy as usual.
This commit is contained in:
Sylvain Pion 2009-08-04 15:03:23 +00:00
parent dec43273d8
commit 1948ac7df0
1 changed files with 13 additions and 0 deletions

View File

@ -59,10 +59,23 @@ using cpp0x::array;
// I proposed it for Boost.Array, but it has not been integrated so far.
// See the thread starting at
// http://lists.boost.org/Archives/boost/2006/08/109003.php
//
// C++0x has it under discussion here :
// http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#851
// Hopefully C++0x will fix this properly with initializer_lists.
// So, it's temporary, therefore I do not document it and keep it internal.
// NOTE : The above is actually untrue ! It is possible to do :
// struct S2 {
// typedef boost::array<M,2> Ar;
// Ar m;
// S2 (const M&a) : m ((Ar) { { a, a } }) {}
// };
// without spurious copies... Except VC++ does not eat it :-(
// It's also untrue that this is not documented... It is !
#ifndef CGAL_CFG_NO_CPP0X_VARIADIC_TEMPLATES
template< typename T, typename... Args >