Custom Query (429 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (76 - 78 of 429)

Ticket Resolution Summary Owner Reporter
#43 fixed Index (character) operation for Universal_String somebody vadim.godunko
Description

It would be nice to have Index operation for Universal_String, which returns index of the first occurrence of the specified character in the string.

#322 fixed Index doesn't return expected result for empty string vadim.godunko
Description

Index function must return 0 when string is empty.

#209 fixed Index fails on empty vector somebody Maxim Reznik
Description
with League.Strings;
with League.String_Vectors;

procedure Aaa is
   List : League.String_Vectors.Universal_String_Vector;
   X    : Natural;
begin
   X := List.Index (League.Strings.Empty_Universal_String);
end;

with "league";

project Aaa is

   for Main use ("aaa.adb");

end Aaa;


$ ./aaa

raised CONSTRAINT_ERROR : league-string_vectors.adb:188 access check failed

Note: See TracQuery for help on using queries.