| 136 | |
| 137 | template <typename T> |
| 138 | inline void SetAttribute(SQLPOINTER new_value, T& attribute_to_write) { |
| 139 | SQLLEN valueAsLen = reinterpret_cast<SQLLEN>(new_value); |
| 140 | attribute_to_write = static_cast<T>(valueAsLen); |
| 141 | } |
| 142 | |
| 143 | template <typename T> |
| 144 | inline void SetPointerAttribute(SQLPOINTER new_value, T& attribute_to_write) { |
no outgoing calls
no test coverage detected