@@ -27,11 +27,11 @@ // Implementation of class atomic // Implement ADD using a CAS loop. template<size_t byte_size> -struct Atomic::PlatformAdd VALUE_OBJ_CLASS_SPEC { +struct Atomic::PlatformAdd { template<typename I, typename D> inline D operator()(I add_value, D volatile* dest) const { D old_value = *dest; while (true) { D new_value = old_value + add_value;