G
George2
Hello everyone,
I am wondering except when there is no memory on heap, are there any
other situations when we will get bad_alloc exceptions? For example,
invalid input of the size (e.g. very huge number or zero or negative
number) will cause exception?
thanks in advance,
George
I am wondering except when there is no memory on heap, are there any
other situations when we will get bad_alloc exceptions? For example,
invalid input of the size (e.g. very huge number or zero or negative
number) will cause exception?
thanks in advance,
George