@@ -523,15 +523,22 @@ DependentValueFields<OnlySpecialisedInTypeArg<T>> OnlySpecialisedInTypeArg<T>::r
523523{
524524}
525525
526+ enum class UsedInTemplatedIndexer
527+ {
528+ Item1,
529+ Item2
530+ };
531+
526532// we optimise specialisations so that only actually used ones are wrapped
527533void forceUseSpecializations (IndependentFields<int > _1, IndependentFields<bool > _2,
528534 IndependentFields<T1> _3, IndependentFields<std::string> _4,
529535 DependentValueFields<int > _5,
530536 VirtualTemplate<int > _6, VirtualTemplate<bool > _7,
531537 HasDefaultTemplateArgument<int , int > _8, DerivedChangesTypeName<T1> _9,
532538 TemplateWithIndexer<int > _10, TemplateWithIndexer<T1> _11,
533- TemplateWithIndexer<T2*> _12, TemplateDerivedFromRegularDynamic<RegularDynamic> _13,
534- IndependentFields<OnlySpecialisedInTypeArg<double >> _14, std::string s);
539+ TemplateWithIndexer<T2*> _12, TemplateWithIndexer<UsedInTemplatedIndexer> _13,
540+ TemplateDerivedFromRegularDynamic<RegularDynamic> _14,
541+ IndependentFields<OnlySpecialisedInTypeArg<double >> _15, std::string s);
535542
536543void hasIgnoredParam (DependentValueFields<IndependentFields<Ignored>> ii);
537544
@@ -551,6 +558,7 @@ template class DLL_API VirtualTemplate<bool>;
551558template class DLL_API HasDefaultTemplateArgument<int , int >;
552559template class DLL_API DerivedChangesTypeName<T1>;
553560template class DLL_API TemplateWithIndexer<int >;
561+ template class DLL_API TemplateWithIndexer<UsedInTemplatedIndexer>;
554562template class DLL_API TemplateWithIndexer<T1>;
555563template class DLL_API TemplateWithIndexer<T2*>;
556564template class DLL_API TemplateDerivedFromRegularDynamic<RegularDynamic>;
0 commit comments