|
|
|
@ -2,6 +2,7 @@
@@ -2,6 +2,7 @@
|
|
|
|
|
#include "AnotherUnit.h" |
|
|
|
|
|
|
|
|
|
#include <string> |
|
|
|
|
#include <map> |
|
|
|
|
|
|
|
|
|
class DLL_API T1 |
|
|
|
|
{ |
|
|
|
@ -31,6 +32,7 @@ public:
@@ -31,6 +32,7 @@ public:
|
|
|
|
|
IndependentFields(const T& t); |
|
|
|
|
IndependentFields(int i); |
|
|
|
|
~IndependentFields(); |
|
|
|
|
explicit IndependentFields(const std::map<T, T> &other); |
|
|
|
|
int getIndependent(); |
|
|
|
|
const T* returnTakeDependentPointer(const T* p); |
|
|
|
|
T getDependent(const T& t); |
|
|
|
@ -67,6 +69,11 @@ IndependentFields<T>::IndependentFields(int i)
@@ -67,6 +69,11 @@ IndependentFields<T>::IndependentFields(int i)
|
|
|
|
|
independent = i; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template <typename T> |
|
|
|
|
IndependentFields<T>::IndependentFields(const std::map<T, T> &v) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template <typename T> |
|
|
|
|
IndependentFields<T>::~IndependentFields() |
|
|
|
|
{ |
|
|
|
@ -513,6 +520,8 @@ void forceUseSpecializations(IndependentFields<int> _1, IndependentFields<bool>
@@ -513,6 +520,8 @@ void forceUseSpecializations(IndependentFields<int> _1, IndependentFields<bool>
|
|
|
|
|
|
|
|
|
|
void hasIgnoredParam(DependentValueFields<IndependentFields<Ignored>> ii); |
|
|
|
|
|
|
|
|
|
std::map<int, int> usesValidSpecialisationOfIgnoredTemplate(); |
|
|
|
|
|
|
|
|
|
DLL_API DependentValueFields<double> specialiseReturnOnly(); |
|
|
|
|
|
|
|
|
|
// force the symbols for the template instantiations because we do not have the auto-compilation for the generated C++ source
|
|
|
|
|