This is Unofficial EPICS BASE Doxygen Site
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
helper.h
Go to the documentation of this file.
1
#ifndef HELPER_H
2
#define HELPER_H
3
4
#include <memory>
5
6
#define FOREACH(ITERTYPE, IT,END,C) for(ITERTYPE IT=(C).begin(), END=(C).end(); IT!=END; ++IT)
7
8
namespace
p2p
{
9
#if __cplusplus>=201103L
10
template
<
typename
T>
11
using
auto_ptr = std::unique_ptr<T>;
12
#define PTRMOVE(AUTO) std::move(AUTO)
13
#else
14
using
std::auto_ptr;
15
#define PTRMOVE(AUTO) (AUTO)
16
#endif
17
}
18
19
#endif // HELPER_H
p2p
Definition:
helper.h:8
modules
pva2pva
p2pApp
helper.h
Generated by
1.8.11