Returns the program object with \p key. Returns a null optional if no program with \p key exists in the cache.
| 85 | /// Returns the program object with \p key. Returns a null optional if no |
| 86 | /// program with \p key exists in the cache. |
| 87 | boost::optional<program> get(const std::string &key) |
| 88 | { |
| 89 | return m_cache.get(std::make_pair(key, std::string())); |
| 90 | } |
| 91 | |
| 92 | /// Returns the program object with \p key and \p options. Returns a null |
| 93 | /// optional if no program with \p key and \p options exists in the cache. |
no test coverage detected