Intel clGPU
|
Base class for service lookup containers. More...
#include <container.hpp>
Classes | |
class | element |
Base class for objects onwed by container/context. More... | |
class | holder |
Context holder base class. More... | |
Public Member Functions | |
template<class T , typename ... Args> | |
std::enable_if< std::is_base_of< element_base, T >::value, std::shared_ptr< T > >::type | get (Args &&...args) |
Construct or get an object owned by container (singleton lifetime). More... | |
template<typename T , typename ... Args> | |
std::enable_if< std::is_base_of< holder, T >::value, std::shared_ptr< T > >::type | get (Args &&...args) |
Constructs an object is initialized but not owned by container. | |
Base class for service lookup containers.
Definition at line 28 of file container.hpp.
|
inline |
Construct or get an object owned by container (singleton lifetime).
T | inherited from class element |
Definition at line 78 of file container.hpp.