test_get_ptr.cpp
Go to the documentation of this file.
00001 // just a compile timestamp
00002 
00003 #include <tracetools/tracetools.h>
00004 
00005 namespace {
00006   class foo {
00007 
00008   };
00009   void test_fn(const foo&) {
00010     // does nothing
00011   }
00012 }
00013 
00014 int main(int, char**)
00015 {
00016   const boost::function<void (const foo&)> f(&test_fn);
00017   const void* d = ros::trace::get_ptr(f);
00018 
00019   return d == 0;
00020 }


tracetools
Author(s): Ingo Luetkebohle
autogenerated on Thu Jun 6 2019 20:31:53