On Thursday, 31 August 2023 at 10:46:53 UTC, Dukc wrote:
On Thursday, 31 August 2023 at 05:16:02 UTC, Vino wrote:
[...]
I'm assuming you want to instantiate `splitter` and take the
address of the resulting function, so that `splitter_ptr` will
be a function pointer or a delegate.
[...]
T
On Thursday, 31 August 2023 at 05:16:02 UTC, Vino wrote:
Hi All,
Request your help on the below error
Program
```
void main()
{
import std.stdio:writeln;
import std.algorithm.iteration : splitter;
auto splitter_ptr = &splitter!((a, b) => a.splitter(b).array);
On Thursday, 31 August 2023 at 05:16:02 UTC, Vino wrote:
Hi All,
Request your help on the below error
Program
```
void main()
{
import std.stdio:writeln;
import std.algorithm.iteration : splitter;
auto splitter_ptr = &splitter!((a, b) => a.splitter(b).array);
Hi All,
Request your help on the below error
Program
```
void main()
{
import std.stdio:writeln;
import std.algorithm.iteration : splitter;
auto splitter_ptr = &splitter!((a, b) => a.splitter(b).array);
string str = "TEST1;TEST2;TEST3";
auto words = spl