[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /os/Linux/distr/salix/sbo/15.0/development/sauce/
 
Current bandwidth utilization 288.54 Mbit/s
Bandwidth utilization bar
Contents of README:
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.)

Icon  Name                                        Last modified      Size  
[DIR] Parent Directory - [TXT] README 14-Jun-2018 16:00 1.1K [TXT] sauce.SlackBuild 11-Mar-2022 06:34 3.3K [   ] sauce.info 14-Jun-2018 16:00 293 [TXT] slack-desc 14-Jun-2018 16:00 754

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!