summaryrefslogtreecommitdiff
path: root/vendor/bandit/bandit/registration/spec_registry.h
blob: 50c35402359a72605b2434c200eb2141de49d7c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef BANDIT_SPEC_REGISTRY_H
#define BANDIT_SPEC_REGISTRY_H

namespace bandit {
  namespace detail {
    typedef std::list<voidfunc_t> spec_registry;

    inline detail::spec_registry& specs()
    {
      static detail::spec_registry registry;
      return registry;
    }
  }

}

#endif