Is inc function part of the library ?
Mike Parker
aldacron at gmail.com
Thu May 13 11:23:48 UTC 2021
On Thursday, 13 May 2021 at 11:21:58 UTC, Alain De Vos wrote:
> I wanted to use the inc function (increment by one) but it is
> not recognised.
> So searched google "inc dlang" but that returned nothing
> informative.
>
> Normally I would issue a "grep" in some files to find if a
> function exists.
>
> Is "inc" part as function of the library someonewhere and more
> important, a practical question, how can I do an extensive
> search in the library to functions when i know more or less
> their name , but don't know their exact place as module or
> package.
It's not a function. It's an operator:
```d
int i = 10;
++i;
```
More information about the Digitalmars-d-learn
mailing list