Description

Utilities collection for D programming language involving heavy compile-time magic

Package Information

Version1.4.0 (2015-Mar-26)
Repository https://github.com/NCrashed/stribog
LicenseBSL-1.0
CopyrightCopyright © 2014-2015, Gushcha Anton
AuthorsAnton Gushcha (NCrashed <ncrashed@gmail.com>)
Registered byAnton Gushcha
Dependencies none

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

Stribog

Build Status Join the chat at https://gitter.im/NCrashed/stribog

This is a collection library that holds all my compile-time utilities developed over long time for several projects. The main target of the library is template magic and code generation.

There are two components in the library:

  1. meta - general purpose extensions of std.typetuple and std.traits to handle such things as:

  • compile-time interfaces
  • strict expression lists
  • debugging utilities for expression lists
  • n-ary template filters, maps, folds, robins, satisfy
  • template robin function
  • compile time foreach unwinding
  • aggregates members introspections
  • compile-time stable sorting
  1. container - specific containers with compile-time code generation:

  • multi key maps - operates like Boost MPL maps, you can define several key-value type pairs.

Available versions

1.4.0 1.3.0 1.2.0 1.1.1 1.1.0 1.0.0 ~master