Opened 5 years ago
#216 new defect
Update Virtual Table Copy (Waiting on Copy Type Fix)
| Reported by: | ajbeach | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | |
| Cc: |
Description
Currently the signature for copying a type is void ?{}(T &, T); put there are plans to change it to void ?{}(T &, T const &).
When that happens the copy field of the base exception virtual table should be changed from void (*copy)(TYPE *, TYPE *); to void (*?{})(TYPE &, TYPE const &); (TYPE is the exception type name.) This will remove the need for the intermediate function to change the type signature.
This is the same trick used to change void (*free)(TYPE *); into void(*^?{})(TYPE &);.
Note:
See TracTickets
for help on using tickets.