[Omp] type derived from a template

Marina Kraeva kraeva at iastate.edu
Fri Apr 6 13:21:55 PDT 2007


Hello,

I have a question about the following phrase from OpenMP API 2.5 (same 
note appears in OpenMP C/C++ API 2.0):

"C/C++: If a variable referenced in a data-sharing attribute clause has 
a type derived from a template, and there are no other references to 
that variable in the program, then any C/C++ behavior related to that 
variable is undefined."


What was the reason for including this note to the API? Thanks for 
explaining this!

Marina Kraeva.


More information about the Omp mailing list