Skip to content

devpassion/libarccos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libarccos

A little meta programming library

Be careful, I don't write this library for reinventing the wheel. Sure, if you are a specific need, it exists some good libraries for this. I wrote this just for my pleasure and for specific purpose.

Features

  • compile-time typelist : the famous typelist with an object-like syntax
  • Hexadecimal dump for std::string, raw string and arbitrary types (based on memory layout)
  • compile-time interval (for create precalculed values)
    • create compile-time interval and apply meta operations to all elements.
  • compile-time logging
    • Define logging level at compile time ( non displayed logging informations does not produce asm code )
  • graph data structure
    • adapted for regular update (on many game loop, for example)
    • optimized for search shortests path on graph with fixed node number

Prerequisites

  • c++11 (for example, gcc-4.7)
  • cmake
  • ctest (if you want to execute the unit tests)

Installation

This library just install some headers files in the include directory (in directory arccos).

  • $ git clone https://github.com/devpassion/libarccos
  • $ cd libarccos
  • $ mkdir build && cd build
  • $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release <libarccos_full_path>
  • $ make && sudo make install

Now, you can include header files like this:

#include <arccos/logging/metalogging.h>

Execute tests

  • $ cd build/tests && ctest

Please submit issues at https://github.com/devpassion/libarccos/issues.

About

A little compile-time library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages