Subject: Re: [Boost-bugs] [Boost C++ Libraries] #874: Ability to partially specialize implementation_level
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-06 12:43:19
#874: Ability to partially specialize implementation_level
-----------------------------------+----------------------------------------
Reporter: sohail__at_[hidden] | Owner: nobody
Type: Feature Requests | Status: assigned
Milestone: | Component: serialization
Version: None | Severity: Showstopper
Resolution: None | Keywords:
-----------------------------------+----------------------------------------
Changes (by dave):
* cc: ramey_at_[hidden] (added)
* severity: => Showstopper
* component: None => serialization
* reporter: sohail_ => sohail__at_[hidden]
Old 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
> }}}
New 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
}}}
Comment:
Can't reassign this to Robert Ramey until he sets up his email as
described in TicketWorkflow.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/874#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC