
18 Dec
2012
18 Dec
'12
3:55 a.m.
On 17 December 2012 19:39, Adam Wulkiewicz <adam.wulkiewicz@gmail.com>wrote:
Btw, how is data() defined?
According to the latest draft of the standard, n3485 23.3.6.1, it returns a T* (or a const T* for the const member version); this is the same as value_type*.
This of course won't work for a hybrid_vector.
Why not?
But then what is the purpose of this method?
To get to the buffer for passing to C routines, usually. -- Nevin ":-)" Liber <mailto:nevin@eviloverlord.com> (847) 691-1404