[Rcpp-devel] "expecting a string" and not finding it in a CharacterVector
Davor Cubranic
cubranic at stat.ubc.ca
Tue Feb 12 02:04:19 CET 2013
Thank you. I'll send you unit tests for both "as" and "const ctor".
Davor
On 2013-02-10, at 6:06 AM, Romain Francois <romain at r-enthusiasts.com> wrote:
>
> Right. I see what you mean. If it does bot disturbe anything else, i should be able to bring it back.
>
> Romain
>
>
> Le 10 févr. 2013 à 04:54, Davor Cubranic <cubranic at stat.ubc.ca> a écrit :
>
>> 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
>> _______________________________________________
>> Rcpp-devel mailing list
>> Rcpp-devel at lists.r-forge.r-project.org
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
More information about the Rcpp-devel
mailing list