Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
config-impl.hh File Reference

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 exmample 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 ApplyConfigOptions & options) const; \
template<> std::string BaseSetting< TY >::to_string() const;