I'm trying to make "compound" template type. Something like this
template <typename A, typename T>
class configurator
{
public:
configurator(const A<T> & adapter) : m_adapter(adapter) {}
private:
A<T> m_adapter;
};
Compiler complains with
error: expected ')'
configurator(const A<T> & adapter
^
Why this is not working? Is it possible to make it work?