[Rcpp-devel] "expecting a string" and not finding it in a CharacterVector

Davor Cubranic cubranic at stat.ubc.ca
Sun Feb 10 04:54:32 CET 2013


On 13-02-09 05:06 AM, Dirk Eddelbuettel wrote:
>
> On 8 February 2013 at 20:58, Davor Cubranic wrote:
>> That fixed just the runtime fault in "as", right? Or did it somehow
>> also take care of ctor for const string from an element of const
>> CharacterVector?
 >
> Variants with 'const CharacterVector' still fail. That would involve
> a lot more work to extend as<> to permit them.

I didn't mean "const as<>", but a const version of 
CharacterVector::operator[] that can be used in a const string's 
constructor, as it did before 0.10.1.

Davor


More information about the Rcpp-devel mailing list