Re: [Bug-apl] Updated APL on Mac pdf.

2017-08-08 Thread Peter Teeson
> On Aug 8, 2017, at 3:07 PM, Peter Teeson wrote: > > Hi Jürgen: > Attached is the revised pdf with a section added at the end explaining how to > use Doxygen on Mac. > When you have vetted it please add it to the distort.

Re: [Bug-apl] Assertion failed

2017-08-08 Thread Elias Mårtenson
If that's the case, then you are indeed right. It's possible that the std::string constructor will work, but that would be more out of luck than anything else. Regards, Elias On 8 August 2017 at 18:11, Juergen Sauermann wrote: > Hi Elias, > > correct, except that an *UCS8_string* is not a strin

Re: [Bug-apl] Assertion failed

2017-08-08 Thread Juergen Sauermann
Hi Elias, correct, except that an UCS8_string is not a string, despite of its name. UCS8_strings have no terminating 0 byte; the 0-byte is only appended if the UCS8_string is converted to a C string with function c_str(). /// Jürg

Re: [Bug-apl] Assertion failed

2017-08-08 Thread Elias Mårtenson
Sorry for not replying earlier, I forgot about this message. ucs[0] should be OK for an empty string, as that will still refer to the terminating NUL byte at the end of the string. Note that an empty string is differetn from a NULL pointer (the former is a valid string, and the other is not). Reg