Boost logo

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!


Boost list run by bdawes at, gregod at, cpdaniel at, john at