You can’t declare a using
alias without defining it. You can declare your class template without defining it, however, and use a duplicate using
alias:
namespace fancy {
template <typename> class Foo;
class Bar;
using FooBar = Foo<Bar>;
}