Skip to content

ll-h/genex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genex

A header-only generationally indexed container library

Motivation

Generationally indexed containers are a cache-friendly way of storing objects that are weakly referenced throughout your program. It may be part of an ECS as described during this talk.

Inspirations

  • The aforementionned talk
  • Slotmap but with C++'s perfect-forwarding

Documentation

The test cases are the perfect user-friendly documentation. For single element creation and access you may look at this file and for iterations you may look at this one.

Installation (Work in progress)

Copy-paste the content of the include folder where you want to use this library.

Testing

cmake .
make check

Missing Features

Loosely ordered by priority:

  • Clean installation and use as a CMake module
  • Actual documentation
  • Testing for weird types (non-copyabe, non-movable, ...)

About

Generationnally-indexed container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors