Sauce-0.10.1: sauce/named.h Source File

Sauce-0.10.1 A C++ Dependency Injection Framework

- Main Page
- Classes
- Files

- File List

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_