Why no VLAs in C++0x?2399 (11/15/2009 8:47:31 AM) C99 offers variable length arrays (VLAs), whereby the size of an array
with automatic storage duration is specified at runtime:
void f(size_t n)
{
int vla[n];
...
}
There is nothing like thi... Scott
how does num_get parse hex constants?1117 (12/6/2009 6:29:58 AM) I'm having trouble understanding how 22.2.2.1.2 "num_get virtual
function" allows conversion of sequences that start with the
characters
"0x". I.e., I think the following should be ok,
istringstream i... jksalmon
Is it safe to cast std::array::data() to built-in array reference?579 (12/2/2009 12:38:12 AM) Can someone please tell me if the following function,
user_namespace::get_c_array, is guaranteed to get a valid reference to a
built-in array from a non-empty C++0x std::array?
namespace user_namespace
... invalid23(15)
Is N2479 going into C++0x?1116 (12/3/2009 6:24:18 AM) Hi,
Can anyone tell if N2479 changes will be available in C++0x?
Regards,
&rzej
--
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use ma... akrzemi12(7)
Implementation of array<T, N>773 (11/30/2009 8:21:45 PM) Hello all. I wonder what should happen if we create an array of zero
elements, as supported by 23.3.1.6:
array a;
Is the implementation allowed to contain some code like the following:
U e... Johannes
accumulate algorithm671 (11/12/2009 7:23:45 PM) The accumulate algorithm in the C++ Standard library have the
following forms:
template
T accumulate(InputIterator first, InputIterator last, T init);
template <class Inpu... subramanian100in(346)
std::parallel? #2097 (12/3/2009 6:22:23 AM) Given high level parallel task libraries like Intel TBB, STAPL, Cilk+
+, VC++ PPL, OpenMP (with current explicit task constructs), & also
given C++�s system of standardizing existing widespread practice, is
... kenshin.himura.sakabato(9)
N3000 Defect - inconsistent return values for forward_list::insert_after099 (11/26/2009 1:35:13 AM) After applying LDR#149, forward_list now has 5 overloads of
insert_after, all returning an iterator.
However, two of those - inserting a single object - return "An
iterator pointing to a copy of x [the ins... bop(1069)
"Only function declarations may be overloaded;"572 (11/11/2009 12:59:28 AM) Hello all. I'm confused by 13/1 in the c++0x draft and in c++03, which says=
:
"Only function declarations can be overloaded; object and type declarations
cannot be overloaded."
But we can also overload... Johannes