| 112 | }; |
| 113 | |
| 114 | std::string toString(const std::vector<EncodingOptions>& options) { |
| 115 | std::stringstream out; |
| 116 | |
| 117 | for (auto i = 0; i < options.size(); ++i) { |
| 118 | if (i > 0) { |
| 119 | out << ", "; |
| 120 | } |
| 121 | out << options[i].toString(); |
| 122 | } |
| 123 | return out.str(); |
| 124 | } |
| 125 | |
| 126 | template <typename T> |
| 127 | struct VectorAndReference { |