containers.h File Reference

Supporting containers for the garlic model. More...

#include "garlic.h"
Include dependency graph for containers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  garlic::basic_text< Ch, SizeType >
 A container for storing small strings that can either act as a view or as an owner. More...
 
class  garlic::sequence< ValueType, SizeType >
 A container to store a list of items, similar to std::vector but far more limited. More...
 

Detailed Description

Supporting containers for the garlic model.

Attention
The containers defined in this file behave differently than the common containers in the STL. In order to support the specific needs of the constraitns and modules they use very specific behavior to increase performance and reduce memory consumption. It is highly recommended NOT to use these containers in your own application unless you read the code and understand the specific ways they behave.

The code here is documented because they appear in certain types that are public but due to their limited features and different behavior that other STL containers, it's best to stay away from these containers.