4
क्या C ++ 11 थ्रेड_लोकल वैरिएबल स्वचालित रूप से स्थिर हैं?
क्या इन दो कोड खंडों के बीच अंतर है: void f() { thread_local vector<int> V; V.clear(); ... // use V as a temporary variable } तथा void f() { static thread_local vector<int> V; V.clear(); ... // use V as a temporary variable } बैकस्टोरी: मूल रूप से मेरे पास एक …