@@ -523,15 +523,22 @@ DependentValueFields<OnlySpecialisedInTypeArg<T>> OnlySpecialisedInTypeArg<T>::r
523
523
{
524
524
}
525
525
526
+ enum class UsedInTemplatedIndexer
527
+ {
528
+ Item1,
529
+ Item2
530
+ };
531
+
526
532
// we optimise specialisations so that only actually used ones are wrapped
527
533
void forceUseSpecializations (IndependentFields<int > _1, IndependentFields<bool > _2,
528
534
IndependentFields<T1> _3, IndependentFields<std::string> _4,
529
535
DependentValueFields<int > _5,
530
536
VirtualTemplate<int > _6, VirtualTemplate<bool > _7,
531
537
HasDefaultTemplateArgument<int , int > _8, DerivedChangesTypeName<T1> _9,
532
538
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);
535
542
536
543
void hasIgnoredParam (DependentValueFields<IndependentFields<Ignored>> ii);
537
544
@@ -551,6 +558,7 @@ template class DLL_API VirtualTemplate<bool>;
551
558
template class DLL_API HasDefaultTemplateArgument<int , int >;
552
559
template class DLL_API DerivedChangesTypeName<T1>;
553
560
template class DLL_API TemplateWithIndexer<int >;
561
+ template class DLL_API TemplateWithIndexer<UsedInTemplatedIndexer>;
554
562
template class DLL_API TemplateWithIndexer<T1>;
555
563
template class DLL_API TemplateWithIndexer<T2*>;
556
564
template class DLL_API TemplateDerivedFromRegularDynamic<RegularDynamic>;
0 commit comments