Main Page
Namespaces
Files
File List
File Members
test
test_get_ptr.cpp
Go to the documentation of this file.
1
// just a compile timestamp
2
3
#include <
tracetools/tracetools.h
>
4
5
namespace
{
6
class
foo {
7
8
};
9
void
test_fn(
const
foo&) {
10
// does nothing
11
}
12
}
13
14
int
main
(
int
,
char
**)
15
{
16
const
boost::function<void (const foo&)> f(&test_fn);
17
const
void
* d =
ros::trace::get_ptr
(f);
18
19
return
d == 0;
20
}
tracetools.h
main
int main(int, char **)
Definition:
test_get_ptr.cpp:14
ros::trace::get_ptr
const void * get_ptr(const boost::function< void(P)> &func_ptr)
Definition:
tracetools.h:26
tracetools
Author(s): Ingo Luetkebohle
autogenerated on Wed Dec 18 2019 03:54:24