Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::OrSuggestions< T > Class Template Reference

#include <suggestions.hh>

Public Types

using Raw = std::variant<T, Suggestions>
 

Public Member Functions

T * operator-> ()
 
T & operator* ()
 
 operator bool () const noexcept
 
 OrSuggestions (T t)
 
const SuggestionsgetSuggestions ()
 

Static Public Member Functions

static OrSuggestions< T > failed (const Suggestions &s)
 
static OrSuggestions< T > failed ()
 

Public Attributes

Raw raw
 

Detailed Description

template<typename T>
class nix::OrSuggestions< T >

Either a value of type T, or some suggestions


The documentation for this class was generated from the following file: