Basic example of "std.process.pipe" not working. Error: template instance `std.functional.pipe!()` error instantiating

BoQsc vaidas.boqsc at gmail.com
Mon Oct 16 17:23:10 UTC 2023


https://dlang.org/library/std/process/pipe.html

```
import std;

void main()
{
	auto p = pipe();
	
}
```
Output:

```
/dlang/dmd/linux/bin64/../../src/phobos/std/functional.d(1272): 
Error: template instance `std.functional.compose!()` does not 
match template declaration `compose(fun...)`
   with `fun = ()`
   must satisfy the following constraint:
`       fun.length > 0`
onlineapp.d(5): Error: template instance `std.functional.pipe!()` 
error instantiating
```


More information about the Digitalmars-d mailing list