Searched refs:NoBraceInitialization (Results 1 – 2 of 2) sorted by relevance
27 struct NoBraceInitialization { struct28 NoBraceInitialization(std::vector<int> v) : vec{std::move(v)} {} in NoBraceInitialization() argument30 NoBraceInitialization(std::initializer_list<T> l) : vec(l) {} in NoBraceInitialization() argument361 py::class_<NoBraceInitialization>(m, "NoBraceInitialization") in TEST_SUBMODULE()363 .def_readonly("vec", &NoBraceInitialization::vec); in TEST_SUBMODULE()
332 b = m.NoBraceInitialization([123, 456])