Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::SymbolStr Class Reference

#include <symbol-table.hh>

Public Member Functions

bool operator== (std::string_view s2) const
 operator const std::string & () const
 operator const std::string_view () const

Friends

class SymbolTable
std::ostream & operator<< (std::ostream &os, const SymbolStr &symbol)

Detailed Description

This class mainly exists to give us an operator<< for ostreams. We could also return plain strings from SymbolTable, but then we'd have to wrap every instance of a symbol that is fmt()ed, which is inconvenient and error-prone.


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