1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 02:43:54 +02:00

Bindings::get(): Add convenience method

This allows writing attribute lookups as

    if (auto name = value.attrs->get(state.sName))
      ...
This commit is contained in:
Eelco Dolstra 2018-11-26 19:57:20 +01:00
parent c02da99757
commit f216c76c56
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 10 additions and 1 deletions

View file

@ -62,7 +62,7 @@ CXXFLAGS=
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP
AX_CXX_COMPILE_STDCXX_14
AX_CXX_COMPILE_STDCXX_17
# Use 64-bit file system calls so that we can support files > 2 GiB.