Sauce-0.10.1
A C++ Dependency Injection Framework
Main Page
Classes
Files
File List
sauce
named.h
1
#ifndef SAUCE_NAMED_H_
2
#define SAUCE_NAMED_H_
3
4
#include <string>
5
6
namespace
sauce
{
7
11
template
<
typename
Iface,
typename
Name>
12
class
Named
{};
13
17
class
Unnamed
{};
18
22
inline
std::string
const
& unnamed() {
23
static
std::string
const
unnamed =
"unnamed"
;
24
return
unnamed;
25
}
26
27
}
28
29
#endif // SAUCE_NAMED_H_
sauce::Unnamed
The name of all statically unnamed dependencies.
Definition:
named.h:17
sauce::Named
Wrap dependency requests with Named to choose one of several (statically) named alternatives.
Definition:
named.h:12
sauce
Definition:
binder.h:21
Generated by
1.8.9.1