|
Boost Users : |
Subject: Re: [Boost-users] [enable_if] How to enable a constructor
From: Agustín Bergé (kaballo86_at_[hidden])
Date: 2011-03-29 07:01:26
On 29/03/2011 6:51, Michael Kaes wrote:
> So how can I reuse the template parameter U for the Ctors enable_if?
> Or is this simply not possible?
You can't, since U is not a template parameter for the constructors but
for the class itself. A template specialization is the way to do it.
K-ballo.-
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