Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
lout::container Namespace Reference

This namespace contains a framework for container classes, which members are instances of object::Object. More...

Namespaces

namespace  typed
 This namespace provides thin wrappers, implemented as C++ templates, to gain type-safety.
 
namespace  untyped
 The container classes defined here contain instances of object::Object.
 

Detailed Description

This namespace contains a framework for container classes, which members are instances of object::Object.

A common problem in languages without garbage collection is, where the children belong to, and so, who is responsible to delete them (instantiation is always done by the caller). This information is here told to the collections, each container has a constructor with the parameter "ownerOfObjects" (HashTable has two such parameters, for keys and values).

See also
container::untyped, container::typed