| 108 | |
| 109 | template <typename T> |
| 110 | T Get(const std::string& name) const { |
| 111 | AssertParamExists(name); |
| 112 | return params_.at(name)->AsTyped<T>()->Get(); |
| 113 | } |
| 114 | |
| 115 | // Set the value of all same parameters from 'other'. |
| 116 | void Set(const BenchmarkParams& other); |