Lines Matching refs:E_nc
32 class E_nc {
34 explicit E_nc(int i) : value{i} {}
35 E_nc(const E_nc &) = delete;
36 E_nc &operator=(const E_nc &) = delete;
37 E_nc(E_nc &&) = default;
38 E_nc &operator=(E_nc &&) = default;
53 m->emplace(int(i), E_nc(10*i));
75 py::class_<E_nc>(m, "ENC")
77 .def_readwrite("value", &E_nc::value);
80 py::bind_vector<std::vector<E_nc>>(m, "VectorENC");
81 m.def("get_vnc", &one_to_n<std::vector<E_nc>>, py::return_value_policy::reference);
82 py::bind_vector<std::deque<E_nc>>(m, "DequeENC");
83 m.def("get_dnc", &one_to_n<std::deque<E_nc>>, py::return_value_policy::reference);
84 py::bind_map<std::map<int, E_nc>>(m, "MapENC");
85 m.def("get_mnc", ×_ten<std::map<int, E_nc>>, py::return_value_policy::reference);
86 py::bind_map<std::unordered_map<int, E_nc>>(m, "UmapENC");
87 m.def("get_umnc", ×_ten<std::unordered_map<int, E_nc>>, py::return_value_policy::reference);