Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rul1 14-7-1 and explicit class instantiation
#2
Your example is compliant, as f1 and f2 are instantiated with the explicit instantiation of Temp<int>.

See para 10 in this draft standard:  https://eel.is/c++draft/temp.explicit
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
RE: Rul1 14-7-1 and explicit class instantiation - by misra cpp - 06-11-2023, 02:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)