Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
config-impl.hh File Reference
#include "config.hh"
#include "args.hh"

Go to the source code of this file.

Classes

struct  nix::BaseSetting< T >::trait< T >
 

Macros

#define DECLARE_CONFIG_SERIALISER(TY)
 

Detailed Description

Template implementations (as opposed to mere declarations).

This file is an example of the "impl.hh" pattern. See the contributing guide.

One only needs to include this when one is declaring a BaseClass<CustomType> setting, or as derived class of such an instantiation.

Macro Definition Documentation

◆ DECLARE_CONFIG_SERIALISER

#define DECLARE_CONFIG_SERIALISER ( TY)
Value:
template<> TY BaseSetting< TY >::parse(const std::string & str) const; \
template<> std::string BaseSetting< TY >::to_string() const;
std::ostream & str
Definition lexer.l:1728