Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. immutable(char) a = 's';
  2. bool isWhitespace = -1 == countUntil(whitespace, a);
  3.  
  4. gui\guisystem\editbox.d(139): Error: template std.algorithm.countUntil(alias pred = "a == b",R1,R2) if (is(typeof(startsWith!(pred)(haystack,needle)))) does not match any function template declaration
  5. gui\guisystem\editbox.d(139): Error: template std.algorithm.countUntil(alias pred = "a == b",R1,R2) if (is(typeof(startsWith!(pred)(haystack,needle)))) cannot deduce template function from argument types !("a==b")(immutable(char[6u]),immutable(char))
  6. gui\guisystem\editbox.d(139): Error: template instance errors instantiating template
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement