Opened 16 years ago
Last modified 15 years ago
#874 closed Feature Requests (wontfix)
Ability to partially specialize implementation_level — at Initial Version
Reported by: | sohail_ | Owned by: | nobody |
---|---|---|---|
Milestone: | Component: | serialization | |
Version: | None | Severity: | Optimization |
Keywords: | Cc: | ramey@… |
Description
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
Note:
See TracTickets
for help on using tickets.