Lazy object: a promise

a promise of an object, a recipe how to make it

IMAGE image = FractalMap(8);
looks the same as
IMAGE loaded_image = read_new_image_format("image_file.xbmp");
above, but acts completely different!

Examples

More discussion



Next | Table of contents