Opened 15 years ago
Closed 15 years ago
#1665 closed Bugs (fixed)
TSS won't compile with custom cleanup function due to missing cast
| Reported by: | Anthony Williams | Owned by: | Anthony Williams |
|---|---|---|---|
| Milestone: | Boost 1.35.0 | Component: | thread |
| Version: | Boost Development Trunk | Severity: | Problem |
| Keywords: | Cc: |
Description
The thread_specific_ptr takes a custom cleanup function that can be called in place of delete when the TSS data is destroyed. There is a cast missing in run_custom_cleanup_function, so this doesn't compile if T is not void.
Note:
See TracTickets
for help on using tickets.

Fixed with revision 43461