Boost logo

Boost Users :

Subject: Re: [Boost-users] [Enable-if] Selectively instantiating methods.
From: Ivan Le Lann (ivan.lelann_at_[hidden])
Date: 2011-09-23 04:30:47


----- "Robert Jones" <robertgbjones_at_[hidden]> a écrit :

> Hi All
>
>
> This doesn't work.
>
>
>
> template<typename T> struct S
> {
> typename disable_if<is_const<T>, int>::type mutating_method();
> } ;
>
>

This thread might be related :
http://lists.boost.org/Archives/boost/2011/08/184454.php

Hope this helps,
Ivan


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net