Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
b88674b8
Verified
Commit
b88674b8
authored
Dec 19, 2019
by
Justin Carpentier
Browse files
joint/data: add operator!=
parent
c3df8ed2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multibody/joint/joint-data-base.hpp
View file @
b88674b8
...
...
@@ -138,6 +138,17 @@ namespace pinocchio
;
}
bool
operator
!=
(
const
JointDataBase
<
Derived
>
&
other
)
const
{
return
derived
().
isNotEqual
(
other
.
derived
());
}
/// \brief Default operator!= implementation
bool
isNotEqual
(
const
JointDataBase
<
Derived
>
&
other
)
const
{
return
!
(
derived
()
==
other
.
derived
());
}
protected:
/// \brief Default constructor: protected.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment