Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 701 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 701 Bytes

Lazy-Cpp

A simple wrapper class over std::optional for Lazy Loading of Resources.

For more information about Lazy Loading Pattern please refer to the article Lazy Loading from wikipedia.org

Simply speaking, Lazy Loading initializes a resource only when you need it i.e it follows the philosophy "use it when you need it".

C++ natively does not support Lazy pattern . Hence i wrote a simple wrapper over it.

Getting Started :