- static void set_f2c_lookup(std::unordered_map<int, F2C*>* map) { f2c_lookup_ = map; }
- static int f2c_id() { return f2c_id_; }
+ static void allocate_lookup()
+ {
+ if (not f2c_lookup_)
+ f2c_lookup_ = std::make_unique<f2c_lookup_type>();
+ }
+ int f2c_id() const { return my_f2c_id_; }
+ static int global_f2c_id() { return f2c_id_; }