Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1017 Bytes

README.md

File metadata and controls

36 lines (29 loc) · 1017 Bytes

QuartzLib

A simple library of containers and utility functions created for use with the Quartz Engine


Library

Some of the containers and utilites available in QuartzLib:

Containers:

  • Array: A dynamic/growing array
  • List: A bi-directional linked list
  • Stack: A dynamic stack based on List
  • Map: A robin hood hash-map
  • Set: A hash-set based on Map
  • SparseSet: A sparse-dense set
  • BlockSet: A block-allocated set based on SparseSet
  • String: An owning string
  • Substring: A Non-owning string

Utilities:

  • Iterator: An utility container to allow ranged-for iteration
  • Move: An implementation of std::move
  • Forward: An implementation of std::forward
  • Swap: An implementation of std::swap
  • TypeId: A simple compile-time id/reflection utility

How to use

How to build/use QuartzLib

CMake:

find_package(QuartzLib)
target_link_libraries(${PROJECT_NAME} PUBLIC QuartzLib)