Lazy Evaluation Makes for Smart map<>

Lazy Evaluation Lazy evaluation delays the evaluation of an expression until its value is needed.1 Adding a mechanism to an stl::map that calculates the value based on the key adds optional lazy evaluation. This can be used to populate the … Continue reading

Overloading Using Non-type Template Parameters

Consider the following situation: you have data to process that naturally uses the same container for storage yet needs to be processed differently based on the data “type”. For example, say you are processing digital audio data and that data … Continue reading