J
Jianli Shen
template is this:
template <class Data>
class FastQueue{
public:
FastQueue(int size){ }
}
I declare myQueue;
FastQueue<DInst *> myQueue;
I don't want to initialize it in constructor use myQueue(32)
I need use new to initialize it:
trie:
myQueue = new FastQueue<DInst *>::FastQueue(32)
failed, don't know how to do
Thanks for help!
template <class Data>
class FastQueue{
public:
FastQueue(int size){ }
}
I declare myQueue;
FastQueue<DInst *> myQueue;
I don't want to initialize it in constructor use myQueue(32)
I need use new to initialize it:
trie:
myQueue = new FastQueue<DInst *>::FastQueue(32)
failed, don't know how to do
Thanks for help!