Skip to content

File function.h

File List > code_source > templat > include > TempLat > util > function.h

Go to the documentation of this file

#ifndef TEMPLAT_UTIL_FUNCTION_H
#define TEMPLAT_UTIL_FUNCTION_H

/* This file is part of TempLat, available at https://cosmolattice.github.io/templat .
   Copyright 2021-2026 The TempLat authors, see AUTHORS.md.
   Released under the MIT license, see LICENSE.md. */

// File info: Main contributor(s): Adrien Florio, Year: 2020

namespace TempLat
{

#define Function(x, expr) [&](auto x) { return expr; }
} // namespace TempLat

#endif