derived.h
Go to the documentation of this file.
1
#pragma once
2
3
4
namespace
armarx::armem::base::detail
5
{
6
7
template
<
class
DerivedT,
class
ThisT>
8
DerivedT&
9
derived
(ThisT* t)
10
{
11
return
static_cast<
DerivedT&
>
(*t);
12
}
13
14
15
template
<
class
DerivedT,
class
ThisT>
16
const
DerivedT&
17
derived
(
const
ThisT* t)
18
{
19
return
static_cast<
const
DerivedT&
>
(*t);
20
}
21
22
}
armarx::armem::base::detail
Definition:
AronTyped.cpp:6
armarx::armem::base::detail::derived
DerivedT & derived(ThisT *t)
Definition:
derived.h:9
RobotAPI
libraries
armem
core
base
detail
derived.h
Generated on Sat Oct 12 2024 09:14:08 for armarx_documentation by
1.8.17