Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pinocchio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
pinocchio
Commits
725544a5
Commit
725544a5
authored
10 years ago
by
Nicolas Mansard
Committed by
Valenza Florian
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
IVIGIT of the forgotten (but maybe useless) assert.hpp.
parent
6839d122
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/assert.hpp
+28
-0
28 additions, 0 deletions
src/assert.hpp
with
28 additions
and
0 deletions
src/assert.hpp
0 → 100644
+
28
−
0
View file @
725544a5
#ifndef __se3_assert_hpp__
#define __se3_assert_hpp__
namespace
se3
{
namespace
internal
{
template
<
bool
condition
>
struct
static_assertion
{};
template
<
>
struct
static_assertion
<
true
>
{
enum
{
THE_JOINT_MAX_NV_SIZE_IS_EXCEDEED__INCREASE_MAX_JOINT_NV
};
};
}
// namespace internat
}
// namespace se3
#define SE3_STATIC_ASSERT(CONDITION,MSG) \
if(se3::internal::static_assertion<bool(CONDITION)>::MSG) {}
#endif // ifndef __se3_assert_hpp__
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment