Skip to content

File function.h

FileList > code_source > templat > include > TempLat > util > function.h

Go to the source code of this file

Namespaces

Type Name
namespace TempLat

Macros

Type Name
define Function (x, expr) [&](auto x) { return expr; }
A macro to simplify writing lambda function. Don't use it in TempLat , for the interfaces.

Macro Definition Documentation

define Function

A macro to simplify writing lambda function. Don't use it in TempLat , for the interfaces.

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

Unit test: ctest -R test-function



The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/function.h