Skip to content

based-1337/basedlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basedlib

Some stuff designed to be used with Based Engine and Basedline.

Current features

Containers

  • Append-only ring buffer
  • Constexpr-friendly static vector
  • Thread-safe FIFO queue

Core

  • Debounce timer
  • Event-driven FSM without jump tables
  • Function pointer wrappers for functions & non-capturing lambdas
  • Dumb debug file logger

Metaprogramming

  • Overloaded pattern
  • Simple static reflection for type names & values (using __PRETTY_FUNCTION__)
  • Enum static reflection for getting field name (simplier alternative to magic_enum)
  • Helper traits & concepts (specialization_of, variadic_t, all_same etc.)

Text

  • Cross-platform multibyte string <-> wide string converters

Other

  • Macros for non-retarded move/copy constructor/assignment declaration

Feature goals

  • Autocompletion Trie (implemented in BE, will move here later)

basedtest

Lightweight & fast test framework for value and assertion tests.

See the test demo for features & usage.

Releases

No releases published

Packages

 
 
 

Contributors