const qualified static data members in firstprivate clause
const qualified static data members in firstprivate clause
Just want to double check, are static data members with const qualified type with no mutable member allowed in firstprivate or not? Similarly what about a variable with const qualified type with no mutable member that appears in threadprivate directive? My understanding is that some objects may be predetermined based on multiple conditions in the list, if more than one rule applies then the first in the list wins. But for the exceptions which variables may be listed in firstprivate it isn't obvious that only const predetermined variables for which earlier rules didn't apply behave so.
Re: const qualified static data members in firstprivate clau
Hi Jakub,
We have discussed this and the intent was such that the answer to your first question is YES and to the second one is NO.
We'll put additional wording in the next release to clear these ambiguities. Thanks for pointing it out.
We have discussed this and the intent was such that the answer to your first question is YES and to the second one is NO.
We'll put additional wording in the next release to clear these ambiguities. Thanks for pointing it out.