|
Boost : |
Subject: Re: [boost] [type_erasure] Difficulties with const
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2012-09-19 16:41:12
Hi Steven,
sorry, I just came now to try it out.
> concept_interface<...>::getName needs to
> be declared const for this to work.
Ok, got it.
> For a constant member function use:
>
> has_getName<std::string const&(), const _self>
Ok, now it works like a charm!
Thanks,
Christophe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk