c++ - Template class for non-inline member functions -
c++ - Template class for non-inline member functions -
i trying follow illustration here:
http://www.justsoftwaresolutions.co.uk/threading/implementing-a-thread-safe-queue-using-condition-variables.html
but dont want inline function definitions class definition.
will have set
template<typename data> concurrent_queue<data>:: in front end of function defs , constructors?
yes, will, , definitions still need in header file. why uses inline definitions- because have inline anyway.
c++ templates
Comments
Post a Comment