Home
last modified time | relevance | path

Searched refs:NoBraceInitialization (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_class.cpp27 struct NoBraceInitialization { struct
28 NoBraceInitialization(std::vector<int> v) : vec{std::move(v)} {} in NoBraceInitialization() function
30 NoBraceInitialization(std::initializer_list<T> l) : vec(l) {} in NoBraceInitialization() argument
361 py::class_<NoBraceInitialization>(m, "NoBraceInitialization") in TEST_SUBMODULE()
363 .def_readonly("vec", &NoBraceInitialization::vec); in TEST_SUBMODULE()
Dtest_class.py332 b = m.NoBraceInitialization([123, 456])