It's template
, you have to put the implementation inside BlockingQueue.h
For a while, the standard did
provide the keyword export
to allow such a separate implementation file. But not many
vendors implemented it. C++11 discontinues that use of export but reserves the export
keyword for possible future use.)
Templates have to be used in conjunction with requests for particular instantiations of templates.