Hello,

Well, MemPtrNew allocates a maximum of ~64Kb. But when I allocate
std::vector on the stack, I got bad_alloc if I try to allocate more than
~30Kb. But if I use new on vector, that is:

VecP p = new Vec[64k] it works, when allocating in this way - Vec v =
Vec[64k]. Why?

Thanks,

-- 
Sincerily,

Vytautas Leonavicius

http://sc-filip.vtu.lt/~vyts/



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to