1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-25 03:02:02 +01:00

Hadrons: general guesser factory

This commit is contained in:
2018-09-10 17:36:54 +01:00
parent 6d1d28955e
commit 6d912f6c67
2 changed files with 10 additions and 40 deletions

View File

@ -63,6 +63,9 @@ inline Environment & env(void) const\
return Environment::getInstance();\
}
#define DEFINE_ENV_LAMBDA \
auto env = [](void)->Environment &{return Environment::getInstance();}
class Environment
{
SINGLETON(Environment);