Replace tabs with spaces (to pass style check)

This commit is contained in:
Jason Rhinelander
2016-08-28 13:46:25 -04:00
parent ac4278970c
commit 540ae61d3c
2 changed files with 87 additions and 87 deletions

View File

@@ -13,25 +13,25 @@
class El {
public:
El() = delete;
El(int v) : a(v) { }
El() = delete;
El(int v) : a(v) { }
int a;
int a;
};
std::ostream & operator<<(std::ostream &s, El const&v) {
s << "El{" << v.a << '}';
return s;
s << "El{" << v.a << '}';
return s;
}
void init_ex_stl_binder_vector(py::module &m) {
py::class_<El>(m, "El")
.def(py::init<int>());
py::class_<El>(m, "El")
.def(py::init<int>());
py::bind_vector<unsigned int>(m, "VectorInt");
py::bind_vector<bool>(m, "VectorBool");
py::bind_vector<unsigned int>(m, "VectorInt");
py::bind_vector<bool>(m, "VectorBool");
py::bind_vector<El>(m, "VectorEl");
py::bind_vector<El>(m, "VectorEl");
py::bind_vector<std::vector<El>>(m, "VectorVectorEl");
}