[
https://issues.apache.org/jira/browse/SINGA-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15525379#comment-15525379
]
Erhard Dinhobl commented on SINGA-209:
--------------------------------------
I will start my work with this issue. And tonight I will try to compile on mac
again.
> Move definition of tensor function templates from source code file into
> header file
> -----------------------------------------------------------------------------------
>
> Key: SINGA-209
> URL: https://issues.apache.org/jira/browse/SINGA-209
> Project: Singa
> Issue Type: Improvement
> Reporter: Wang Ji
>
> Usually, it is not necessary to separate the definition of templates class
> from its declaration and put it inside a .cpp file. If so, we need to
> explicitly instantiate templates manually when using an instant of those
> templates which is inconvenient. To this end, in this ticket we move
> definition of tensor function templates from source code file tensor.cc into
> header file tensor.h.
> Refer to C++ FAQ
> (https://isocpp.org/wiki/faq/templates#templates-defn-vs-decl).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)