私は宿題に取り組んでおり、テンプレートを作成してから、そのテンプレートをドライバーに実装する必要があります。残念ながら、コンパイル時にエラーが発生します。私はC++のより複雑な側面を学び始めたばかりであり、この問題を解決する方法がわかりません。
/tmp/ccdvvLpF.o:main.cpp:(.text $ _ZN11LinkedQueueISsE7enqueueERKSs [LinkedQueue、std :: allocator >> :: enqueue(std :: basic_string、std :: allocator> const&)] + 0x4a):LinkedQueue<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::number'
/tmp/ccdvvLpF.o:main.cpp:(.text$_ZN11LinkedQueueISsE7enqueueERKSs[LinkedQueue<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::enqueue(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x66): undefined reference to
LinkedQueueへの未定義の参照、std :: allocator >> :: number'/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: /tmp/ccdvvLpF.o:セクション `.text $ _ZN11LinkedQueueISsE7enqueueERKSs [LinkedQueue、std :: allocator >> :: enqueue(std :: basic_string、std :: allocator> const&)]'の不正な再配置アドレス0x66終了ステータス
ありがとう。