$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Enable-if] Selectively instantiating methods.
From: Julien Nitard (julien.nitard_at_[hidden])
Date: 2011-09-23 03:53:46
Hi
I didn't test, but I think something like this should do the job:
template<typename T> struct S
> {
> template <class T1 = T>
> typename disable_if<is_const<T1>, int>::type mutating_method();
> };
>
>
Regards,
Julien