1#ifndef DUNE_FEM_IDPROVIDER_HH
2#define DUNE_FEM_IDPROVIDER_HH
28 size_t newId() {
return lowestFreeId_++; }
Definition: bindguard.hh:11
Singleton that manages a globally unique identifier.
Definition: idprovider.hh:16
IdProvider()
Constructor (for the singleton object)
Definition: idprovider.hh:31
size_t newId()
Definition: idprovider.hh:28
static IdProvider & instance()
Access to the singleton object.
Definition: idprovider.hh:21
return singleton instance of given Object type.
Definition: singleton.hh:88
static DUNE_EXPORT Object & instance(Args &&... args)
return singleton instance of given Object type.
Definition: singleton.hh:118