Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::fun< Sig > Class Template Reference

Detailed Description

template<typename Sig>
class nix::fun< Sig >

A non-nullable wrapper around std::function.

Like ref<T> guarantees a non-null pointer, fun<Sig> guarantees a non-null callable. Construction from an empty std::function or nullptr is rejected.


The documentation for this class was generated from the following file:
  • libutil/include/nix/util/fun.hh