Changeset 27638 for lang/cplusplus
- Timestamp:
- 12/31/08 02:58:08 (4 years ago)
- Files:
-
- 1 modified
-
lang/cplusplus/i3/trunk/src/mol/include/mol/Mol.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/cplusplus/i3/trunk/src/mol/include/mol/Mol.h
r27637 r27638 83 83 } 84 84 85 T load() const volatile 85 //T load() const volatile 86 T load() volatile 86 87 { 87 88 return (T)InterlockedCompareExchangePointer((void* volatile *)&t, 0, 0); … … 91 92 { 92 93 BOOST_STATIC_ASSERT(sizeof(T) == sizeof(void*)); 93 return (T)InterlockedExchangePointer((void* volatile *)&t, ( void*)new_val);94 return (T)InterlockedExchangePointer((void* volatile *)&t, (const void*)new_val); 94 95 } 95 96
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)