This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Development > sauce (0.10.1)

A C++ dependency injection framework.

The design and name are inspired by Google's excellent Guice framework,
but neither Google nor Guice is otherwise affiliated in any way.

In Sauce, one defines bindings that map interface types to
implementation types. Each binding is declared in the context of a
module which is used to organize and refer to collections of bindings
at a time. Modules may be function pointers, or classes providing a
certain operator(). Groups of modules may be used together, to avoid
duplicate bindings.

At runtime, one collects desired modules into a modules object, which
produces injectors. One can then ask an injector to provide a value
(instance) of a desired type (again supplied as a template parameter.)
When providing a value, implicit transitive dependencies are provided
as well. All values are exchanged with shared pointers
((std|std::tr1|boost)::shared_ptrs are supported) and the injector
takes care of disposing the value when the smart pointer deletes
itself.

Requesting the injector for an unbound type results in a runtime
exception. No RTTI is used (but we use a portable, homebrew version
of same.)

Maintained by: Andre Barboza
Keywords: IoC,dependency,injection,dicpp,fruit,sauce
ChangeLog: sauce

Homepage:
https://github.com/phs/sauce/

Source Downloads:
sauce-0.10.1.tar.gz (c86fe182746e3c60b70f9342f736c451)

Download SlackBuild:
sauce.tar.gz
sauce.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
README
sauce.SlackBuild
sauce.info
slack-desc

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds