Sauce-0.10.1
A C++ Dependency Injection Framework
Static Public Member Functions | List of all members
sauce::internal::ImplicitBinding< Named< Injector, Unnamed > > Class Reference

The implicit Injector binding. More...

#include <sauce/internal/implicit_bindings.h>

Inheritance diagram for sauce::internal::ImplicitBinding< Named< Injector, Unnamed > >:
Inheritance graph
[legend]
Collaboration diagram for sauce::internal::ImplicitBinding< Named< Injector, Unnamed > >:
Collaboration graph
[legend]

Static Public Member Functions

static BindingPtr get (Concrete const &, std::string const name)
 

Detailed Description

The implicit Injector binding.

Member Function Documentation

◆ get()

static BindingPtr sauce::internal::ImplicitBinding< Named< Injector, Unnamed > >::get ( Concrete const &  ,
std::string const  name 
)
inlinestatic
82 {
83 if (name != unnamed()) {
84 throw UnboundExceptionFor<Named<Injector, Unnamed> >(name);
85 }
86 BindingPtr binding(new ImplicitInjection());
87 return binding;
88 }

The documentation for this class was generated from the following file: