compnerd / ids

Interface Analysis Utility
BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

libtool: correctly handle decoration of template specializations #11

Closed compnerd closed 3 years ago

compnerd commented 3 years ago

We would previously incorrectly place the decoration prior to the template specialization, which resulted in an invalid modification of the code. This corrects the placement of the decoration:

DLL_EXPORT_DECORATION template <> void function(int &);

vs

template <> DLL_EXPORT_DECORATION void function(int &);