C++ 用于在C++;使用关键字

C++ 用于在C++;使用关键字,c++,templates,function-pointers,declaration,C++,Templates,Function Pointers,Declaration,考虑 template<typename T> struct auxiliary { typedef std::unique_ptr<T> (*creator)(std::vector<double>const&); }; template<typename T> using creator = typename auxiliary<T>::creator; 模板 使用creator=std::unique_ptr(*)(

考虑

template<typename T>
struct auxiliary
{
  typedef std::unique_ptr<T> (*creator)(std::vector<double>const&);
};
template<typename T>
using creator = typename auxiliary<T>::creator;
模板
使用creator=std::unique_ptr(*)(std::vector const&);

在模板别名中,使用和标识符之间不应该有任何区别。好的,但这不是答案。不,这就是为什么它是注释。
template<typename T>
using creator = ???    
template<typename T>
using creator = std::unique_ptr<T> (*)(std::vector<double> const&);