bigger then size_t

Dmitry Olshansky dmitry.olsh at gmail.com
Tue Oct 9 07:58:03 PDT 2012


On 09-Oct-12 18:46, maarten van damme wrote:
> What happens when args[1].length is bigger then size_t?
> Can I detect this?
>
Then size_t.max? It can't as it has type size_t.
Equal or even close? Nope. As it there would not be enough of even 
_virtual_ memory to fit array of size_t.max and something else (like 
your program :))


-- 
Dmitry Olshansky


More information about the Digitalmars-d-learn mailing list