The potential problem is that another ts header might define these same types.  
An alternative is to define a struct just for types and use private inheritance:

```
struct ArgumentTypeDefs
{
  typedef std::vector<std::string> StringArray;
  typedef std::function<void()> Function;
};


class ArgumentData : private ArgumentTypeDefs
...
```

[ Full content available at: https://github.com/apache/trafficserver/pull/4227 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to