We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e98cfd0 commit 8a05a6fCopy full SHA for 8a05a6f
unittest/user_type.cpp
@@ -156,8 +156,9 @@ void expose_custom_type(const std::string& name) {
156
typedef CustomType<Scalar> Type;
157
158
// use ""_a literal
159
- bp::class_<Type>(name.c_str(), bp::init<Scalar>("value" _a))
160
-
+ // clang-format off
+ bp::class_<Type>(name.c_str(), bp::init<Scalar>("value"_a))
161
+ // clang-format on
162
.def(bp::self + bp::self)
163
.def(bp::self - bp::self)
164
.def(bp::self * bp::self)
0 commit comments