Opened 16 years ago
Closed 15 years ago
#874 closed Feature Requests (wontfix)
Ability to partially specialize implementation_level
| Reported by: | Owned by: | Robert Ramey | |
|---|---|---|---|
| Milestone: | Component: | serialization | |
| Version: | None | Severity: | Optimization |
| Keywords: | Cc: | ramey@… |
Description (last modified by )
Please add the ability to partially specialize implementation_level using enable_if. The use I would appreciate is:
template<typename T, typename Enable=void>
struct implementation_level;
template<typename T>
strut implementation_level<T,enable_if<my_condition<T> >::type >
{
make_never_serialized_somehow;
};
If the above is not possible, please add an example to the documentation expressing how to achieve the above for a class of possibly unrelated types.
Thanks
Change History (5)
comment:2 by , 15 years ago
| Cc: | added |
|---|---|
| Component: | None → serialization |
| Description: | modified (diff) |
| Reporter: | changed from to |
| Severity: | → Showstopper |
Can't reassign this to Robert Ramey until he sets up his email as described in TicketWorkflow.
comment:3 by , 15 years ago
| Owner: | changed from to |
|---|---|
| Status: | assigned → new |
comment:4 by , 15 years ago
| Severity: | Showstopper → Optimization |
|---|---|
| Status: | new → assigned |
I would need a lot more information.
better explanation use case proposed fix to code impact on less/non conformant platforms.
comment:5 by , 15 years ago
| Resolution: | None → wontfix |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
