Skip to content

chipot/calm-containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calm containers
===============

I created calm containers because I felt like my code was yelling at me when I
was using BSD sys/queue.h. Also, I hate the way sys/queue.h is intrusive and
ask you systematically about the name of the pointer member.
Moreover, you just can not debug this kind of macro easily.

Then I decided to create yet another C container library, called "calm" because
they don't yell at you: all the names are in lowercase.

Vector
------

Vector.h is a simple header file which try to mimic the std::vector of C++. At
the moment the usage of vector.h is similar to the use of an explicit template
instantiation of a std::vector.

Map
---

Map.h is a stupid and simple implementation of an associative container. The
implementation is currently based on vector.h and the interface is pretty poor
at the moment.

Take a look at the tests and examples !

About

A simple header file helping you define STL-like vectors.

Resources

Stars

Watchers

Forks

Packages

No packages published